Compare commits
2 commits
9065a18061
...
59b413dace
Author | SHA1 | Date | |
---|---|---|---|
|
59b413dace | ||
|
5ec9b96504 |
2 changed files with 5 additions and 7 deletions
|
@ -1,5 +1,5 @@
|
||||||
.Profile {
|
.Profile {
|
||||||
height: 100%;
|
overflow: hidden auto;
|
||||||
|
|
||||||
.intro {
|
.intro {
|
||||||
background-color: var(--tutu-color-surface-d);
|
background-color: var(--tutu-color-surface-d);
|
||||||
|
|
|
@ -1,8 +1,4 @@
|
||||||
import {
|
import { For, Show, type Component } from "solid-js";
|
||||||
For,
|
|
||||||
Show,
|
|
||||||
type Component,
|
|
||||||
} from "solid-js";
|
|
||||||
import Scaffold from "../material/Scaffold.js";
|
import Scaffold from "../material/Scaffold.js";
|
||||||
import {
|
import {
|
||||||
AppBar,
|
AppBar,
|
||||||
|
@ -167,7 +163,7 @@ const Settings: Component = () => {
|
||||||
}>,
|
}>,
|
||||||
() => import(`./i18n/lang-names.json`),
|
() => import(`./i18n/lang-names.json`),
|
||||||
);
|
);
|
||||||
const {pop} = useNavigator();
|
const { pop } = useNavigator();
|
||||||
const settings$ = useStore($settings);
|
const settings$ = useStore($settings);
|
||||||
const { needRefresh } = useServiceWorker();
|
const { needRefresh } = useServiceWorker();
|
||||||
const dateFnLocale = useDateFnLocale();
|
const dateFnLocale = useDateFnLocale();
|
||||||
|
@ -185,6 +181,8 @@ const Settings: Component = () => {
|
||||||
|
|
||||||
.setting-list {
|
.setting-list {
|
||||||
padding-bottom: calc(var(--safe-area-inset-bottom, 0px) + 16px);
|
padding-bottom: calc(var(--safe-area-inset-bottom, 0px) + 16px);
|
||||||
|
overflow: hidden auto;
|
||||||
|
height: calc(100% - var(--scaffold-topbar-height, 0));
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Reference in a new issue