diff options
-rw-r--r-- | public/css/gogs.css | 4 | ||||
-rw-r--r-- | public/less/_base.less | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/public/css/gogs.css b/public/css/gogs.css index 6f4979c2..48c3d405 100644 --- a/public/css/gogs.css +++ b/public/css/gogs.css @@ -4,14 +4,14 @@ display: inline-block; background-size: contain; } -body { +body:not(.full-width) { font-family: "PingFang SC", "Helvetica Neue", "Microsoft YaHei", Arial, Helvetica, sans-serif !important; background-color: #fff; overflow-y: scroll; overflow-x: auto; min-width: 1020px; } -.ui.container { +.ui.container:not(.fluid) { width: 980px !important; } h1, diff --git a/public/less/_base.less b/public/less/_base.less index 92a0081f..2c5ee407 100644 --- a/public/less/_base.less +++ b/public/less/_base.less @@ -1,13 +1,13 @@ @footer-margin: 40px; -body { +body:not(.full-width) { font-family: "PingFang SC", "Helvetica Neue", "Microsoft YaHei", Arial, Helvetica, sans-serif !important; background-color: #fff; overflow-y: scroll; overflow-x: auto; min-width: 1020px; } -.ui.container { +.ui.container:not(.fluid) { width: 980px !important; } h1, h2, h3, h4, h5, |