From c6e08d76fd71e21042e967f06ee6ae764a22649e Mon Sep 17 00:00:00 2001 From: Unknwon Date: Tue, 28 Feb 2017 23:25:03 -0500 Subject: [PATCH] admin/config: minor CSS fix --- public/css/gogs.css | 6 ++++++ public/less/_admin.less | 11 +++++++++++ templates/admin/config.tmpl | 2 +- 3 files changed, 18 insertions(+), 1 deletion(-) diff --git a/public/css/gogs.css b/public/css/gogs.css index 92b26e143..d930cf1e3 100644 --- a/public/css/gogs.css +++ b/public/css/gogs.css @@ -3026,6 +3026,12 @@ footer .ui.language .menu { background-color: #f7f7f7; padding: 5px; } +.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 24f13ba53..16a9954fa 100644 --- a/public/less/_admin.less +++ b/public/less/_admin.less @@ -69,5 +69,16 @@ background-color: #f7f7f7; padding: 5px; } + .log-config { + table tbody tr td { + &:first-child { + width: 100px; + } + &:not(first-child) { + max-width: 0; + // width: 70%; + } + } + } } } diff --git a/templates/admin/config.tmpl b/templates/admin/config.tmpl index dbe0aa015..4a95a3377 100644 --- a/templates/admin/config.tmpl +++ b/templates/admin/config.tmpl @@ -275,7 +275,7 @@

{{.i18n.Tr "admin.config.log_config"}}

-
+
{{range .Loggers}}