aboutsummaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
Diffstat (limited to 'public')
-rw-r--r--public/css/gogs.css9
-rw-r--r--public/less/_admin.less3
-rw-r--r--public/less/_base.less10
3 files changed, 11 insertions, 11 deletions
diff --git a/public/css/gogs.css b/public/css/gogs.css
index a06f3deb..6f4979c2 100644
--- a/public/css/gogs.css
+++ b/public/css/gogs.css
@@ -8,6 +8,11 @@ body {
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 {
+ width: 980px !important;
}
h1,
h2,
@@ -41,7 +46,6 @@ code.raw {
pre.wrap,
code.wrap {
white-space: pre-wrap;
- /* CSS 3 */
word-break: break-word;
}
.dont-break-out {
@@ -3122,9 +3126,6 @@ footer .ui.language .menu {
.admin.config .log-config table tbody tr td:first-child {
width: 100px;
}
-.admin.config .log-config table tbody tr td:not(first-child) {
- max-width: 0;
-}
.explore {
padding-top: 15px;
padding-bottom: 80px;
diff --git a/public/less/_admin.less b/public/less/_admin.less
index 4f60511d..86714b42 100644
--- a/public/less/_admin.less
+++ b/public/less/_admin.less
@@ -70,9 +70,6 @@
&:first-child {
width: 100px;
}
- &:not(first-child) {
- max-width: 0;
- }
}
}
}
diff --git a/public/less/_base.less b/public/less/_base.less
index e41fc065..92a0081f 100644
--- a/public/less/_base.less
+++ b/public/less/_base.less
@@ -4,6 +4,11 @@ body {
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 {
+ width: 980px !important;
}
h1, h2, h3, h4, h5,
.ui.header,
@@ -28,10 +33,7 @@ pre, code {
overflow: auto;
}
&.wrap {
- white-space: pre-wrap; /* CSS 3 */
-// white-space: -moz-normal; /* Mozilla, since 1999 */
-// white-space: -normal; /* Opera 4-6 */
-// white-space: -o-normal; /* Opera 7 */
+ white-space: pre-wrap;
word-break: break-word;
}
}