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:
parent
75e542f942
commit
3d20e1c72c
2 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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(() => {
|
||||||
|
|
Loading…
Reference in a new issue