diff --git a/packages/app/src/theme/index.less b/packages/app/src/theme/index.less index d8358bb6..d086a10b 100755 --- a/packages/app/src/theme/index.less +++ b/packages/app/src/theme/index.less @@ -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 {