fix centered content

This commit is contained in:
SrGooglo 2023-07-17 13:39:05 +00:00
parent 2749db02dd
commit 0f48ea08b4

View File

@ -114,25 +114,6 @@ html {
/* disable the IOS popup when long-press on a link */ /* disable the IOS popup when long-press on a link */
} }
#root {
position: fixed;
overflow: hidden;
overflow-y: auto;
width: 100%;
height: 100%;
background-color: var(--layoutBackgroundColor) !important;
font-size: calc(16px * var(--fontScale));
&.electron {
.ant-layout-sider {
padding-top: 0px;
}
}
&.centered-content { &.centered-content {
.app_layout { .app_layout {
.content_layout { .content_layout {
@ -158,6 +139,25 @@ html {
} }
} }
} }
#root {
position: fixed;
overflow: hidden;
overflow-y: auto;
width: 100%;
height: 100%;
background-color: var(--layoutBackgroundColor) !important;
font-size: calc(16px * var(--fontScale));
&.electron {
.ant-layout-sider {
padding-top: 0px;
}
}
} }
#nprogress { #nprogress {