Browse Source

admin/config: minor CSS fix

pull/4240/head
Unknwon 8 years ago
parent
commit
c6e08d76fd
No known key found for this signature in database
GPG Key ID: 25B575AE3213B2B3
  1. 6
      public/css/gogs.css
  2. 11
      public/less/_admin.less
  3. 2
      templates/admin/config.tmpl

6
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;

11
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%;
}
}
}
}
}

2
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>

Loading…
Cancel
Save