mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 02:54:15 +00:00
fix centered content
This commit is contained in:
parent
2749db02dd
commit
0f48ea08b4
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user