diff --git a/src/profiles/Profile.css b/src/profiles/Profile.css index 9b8e17a..3f0bce8 100644 --- a/src/profiles/Profile.css +++ b/src/profiles/Profile.css @@ -1,5 +1,5 @@ .Profile { - overflow: hidden auto; + height: 100%; .intro { background-color: var(--tutu-color-surface-d); diff --git a/src/settings/Settings.tsx b/src/settings/Settings.tsx index ad55634..aca4c59 100644 --- a/src/settings/Settings.tsx +++ b/src/settings/Settings.tsx @@ -1,4 +1,8 @@ -import { For, Show, type Component } from "solid-js"; +import { + For, + Show, + type Component, +} from "solid-js"; import Scaffold from "../material/Scaffold.js"; import { AppBar, @@ -163,7 +167,7 @@ const Settings: Component = () => { }>, () => import(`./i18n/lang-names.json`), ); - const { pop } = useNavigator(); + const {pop} = useNavigator(); const settings$ = useStore($settings); const { needRefresh } = useServiceWorker(); const dateFnLocale = useDateFnLocale(); @@ -181,8 +185,6 @@ const Settings: Component = () => { .setting-list { padding-bottom: calc(var(--safe-area-inset-bottom, 0px) + 16px); - overflow: hidden auto; - height: calc(100% - var(--scaffold-topbar-height, 0)); } `; return (