mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 18:44:16 +00:00
fix centered content
This commit is contained in:
parent
2749db02dd
commit
0f48ea08b4
@ -114,6 +114,32 @@ html {
|
||||
/* disable the IOS popup when long-press on a link */
|
||||
}
|
||||
|
||||
&.centered-content {
|
||||
.app_layout {
|
||||
.content_layout {
|
||||
width: 45%;
|
||||
|
||||
min-width: 400px;
|
||||
max-width: 45%;
|
||||
|
||||
margin: auto;
|
||||
|
||||
padding-left: 0;
|
||||
padding-right: 10px;
|
||||
|
||||
@media screen and (max-width: 1920px) {
|
||||
width: 50%;
|
||||
max-width: 60%;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1440px) {
|
||||
width: 80%;
|
||||
max-width: 80%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#root {
|
||||
position: fixed;
|
||||
overflow: hidden;
|
||||
@ -132,32 +158,6 @@ html {
|
||||
padding-top: 0px;
|
||||
}
|
||||
}
|
||||
|
||||
&.centered-content {
|
||||
.app_layout {
|
||||
.content_layout {
|
||||
width: 45%;
|
||||
|
||||
min-width: 400px;
|
||||
max-width: 45%;
|
||||
|
||||
margin: auto;
|
||||
|
||||
padding-left: 0;
|
||||
padding-right: 10px;
|
||||
|
||||
@media screen and (max-width: 1920px) {
|
||||
width: 50%;
|
||||
max-width: 60%;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1440px) {
|
||||
width: 80%;
|
||||
max-width: 80%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#nprogress {
|
||||
|
Loading…
x
Reference in New Issue
Block a user