diff --git a/gogs.go b/gogs.go index c25e395fa..f0969eccf 100644 --- a/gogs.go +++ b/gogs.go @@ -16,7 +16,7 @@ import ( "github.com/gogits/gogs/pkg/setting" ) -const APP_VER = "0.11.13.0602" +const APP_VER = "0.11.13.0603" func init() { setting.AppVer = APP_VER diff --git a/public/css/gogs.css b/public/css/gogs.css index a06f3deb9..6f4979c26 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 4f60511dc..86714b42d 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 e41fc0651..92a0081f2 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; } } diff --git a/templates/.VERSION b/templates/.VERSION index 8a829c0c0..c9b409bef 100644 --- a/templates/.VERSION +++ b/templates/.VERSION @@ -1 +1 @@ -0.11.13.0602 \ No newline at end of file +0.11.13.0603 \ No newline at end of file