aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--public/css/gogs.css6
-rw-r--r--public/less/_admin.less11
-rw-r--r--templates/admin/config.tmpl2
3 files changed, 18 insertions, 1 deletions
diff --git a/public/css/gogs.css b/public/css/gogs.css
index 92b26e14..d930cf1e 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 24f13ba5..16a9954f 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 dbe0aa01..4a95a337 100644
--- a/templates/admin/config.tmpl
+++ b/templates/admin/config.tmpl
@@ -275,7 +275,7 @@
<h4 class="ui top attached header">
{{.i18n.Tr "admin.config.log_config"}}
</h4>
- <div class="ui attached segment">
+ <div class="ui attached log-config segment">
<table class="ui very basic table">
{{range .Loggers}}
<tr>