0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-02-17 22:04:19 -05:00

Merge pull request #2392 from logto-io/simeng-log-4572-web-screen-adaption-question

style(ui): main page overflow
This commit is contained in:
simeng-li 2022-11-11 10:45:54 +08:00 committed by GitHub
commit ddefb92da5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

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

View file

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