0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

style(ui): main page overflow

main page overflow
This commit is contained in:
simeng-li 2022-11-10 17:50:29 +08:00
parent 75e542f942
commit 3d20e1c72c
No known key found for this signature in database
GPG key ID: 14EA7BB1541E8075
2 changed files with 3 additions and 1 deletions

View file

@ -47,6 +47,7 @@ body {
.placeHolder { .placeHolder {
flex: 1; flex: 1;
min-height: _.unit(5);
} }
:global(body.mobile) { :global(body.mobile) {
@ -84,5 +85,6 @@ body {
border-radius: 16px; border-radius: 16px;
background: var(--color-bg-float); background: var(--color-bg-float);
box-shadow: var(--color-shadow-2); box-shadow: var(--color-shadow-2);
overflow: auto;
} }
} }

View file

@ -16,7 +16,7 @@ export type Props = {
const AppContent = ({ children }: Props) => { const AppContent = ({ children }: Props) => {
const theme = useTheme(); const theme = useTheme();
const { toast, platform, setToast, experienceSettings } = useContext(PageContext); const { toast, platform, setToast } = useContext(PageContext);
// Prevent internal eventListener rebind // Prevent internal eventListener rebind
const hideToast = useCallback(() => { const hideToast = useCallback(() => {