Browse Source

css: fix fluid container for spilt diff view

pull/3757/merge
Unknwon 8 years ago
parent
commit
af4cf463f5
No known key found for this signature in database
GPG Key ID: 25B575AE3213B2B3
  1. 4
      public/css/gogs.css
  2. 4
      public/less/_base.less

4
public/css/gogs.css

@ -4,14 +4,14 @@
display: inline-block; display: inline-block;
background-size: contain; background-size: contain;
} }
body { body:not(.full-width) {
font-family: "PingFang SC", "Helvetica Neue", "Microsoft YaHei", Arial, Helvetica, sans-serif !important; font-family: "PingFang SC", "Helvetica Neue", "Microsoft YaHei", Arial, Helvetica, sans-serif !important;
background-color: #fff; background-color: #fff;
overflow-y: scroll; overflow-y: scroll;
overflow-x: auto; overflow-x: auto;
min-width: 1020px; min-width: 1020px;
} }
.ui.container { .ui.container:not(.fluid) {
width: 980px !important; width: 980px !important;
} }
h1, h1,

4
public/less/_base.less

@ -1,13 +1,13 @@
@footer-margin: 40px; @footer-margin: 40px;
body { body:not(.full-width) {
font-family: "PingFang SC", "Helvetica Neue", "Microsoft YaHei", Arial, Helvetica, sans-serif !important; font-family: "PingFang SC", "Helvetica Neue", "Microsoft YaHei", Arial, Helvetica, sans-serif !important;
background-color: #fff; background-color: #fff;
overflow-y: scroll; overflow-y: scroll;
overflow-x: auto; overflow-x: auto;
min-width: 1020px; min-width: 1020px;
} }
.ui.container { .ui.container:not(.fluid) {
width: 980px !important; width: 980px !important;
} }
h1, h2, h3, h4, h5, h1, h2, h3, h4, h5,

Loading…
Cancel
Save