mirror of https://github.com/gogs/gogs.git
css: fix fluid container for spilt diff view
parent
21c1b8d834
commit
af4cf463f5
|
@ -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,
|
||||||
|
|
|
@ -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…
Reference in New Issue