mirror of https://github.com/gogs/gogs.git
css: fix /admin/config pre overflow
parent
8796df8218
commit
333998509f
File diff suppressed because one or more lines are too long
|
@ -3180,6 +3180,10 @@ footer .ui.language .menu {
|
||||||
.admin.config .log-config table tbody tr td:first-child {
|
.admin.config .log-config table tbody tr td:first-child {
|
||||||
width: 100px;
|
width: 100px;
|
||||||
}
|
}
|
||||||
|
.admin.config .log-config table tbody tr td:last-child pre {
|
||||||
|
width: 600px;
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
.explore {
|
.explore {
|
||||||
padding-top: 15px;
|
padding-top: 15px;
|
||||||
padding-bottom: 80px;
|
padding-bottom: 80px;
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,80 +1,85 @@
|
||||||
.admin {
|
.admin {
|
||||||
padding-top: 15px;
|
padding-top: 15px;
|
||||||
padding-bottom: @footer-margin * 2;
|
padding-bottom: @footer-margin * 2;
|
||||||
|
|
||||||
.table.segment {
|
.table.segment {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
|
|
||||||
&:not(.striped) {
|
&:not(.striped) {
|
||||||
padding-top: 5px;
|
padding-top: 5px;
|
||||||
|
|
||||||
thead {
|
thead {
|
||||||
th:last-child {
|
th:last-child {
|
||||||
padding-right: 5px !important;
|
padding-right: 5px !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
th {
|
th {
|
||||||
padding-top: 5px;
|
padding-top: 5px;
|
||||||
padding-bottom: 5px;
|
padding-bottom: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:not(.select) {
|
&:not(.select) {
|
||||||
th, td {
|
th,
|
||||||
&:first-of-type {
|
td {
|
||||||
padding-left: 15px !important;
|
&:first-of-type {
|
||||||
}
|
padding-left: 15px !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
code {
|
code {
|
||||||
color: #db2828;
|
color: #db2828;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.user {
|
&.user {
|
||||||
.email {
|
.email {
|
||||||
max-width: 200px;
|
max-width: 200px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
dl.admin-dl-horizontal {
|
dl.admin-dl-horizontal {
|
||||||
padding: 10px 15px;
|
padding: 10px 15px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
||||||
dd {
|
dd {
|
||||||
margin-left: 240px;
|
margin-left: 240px;
|
||||||
}
|
}
|
||||||
dt {
|
dt {
|
||||||
font-weight: bolder;
|
font-weight: bolder;
|
||||||
float: left;
|
float: left;
|
||||||
width: 250px;
|
width: 250px;
|
||||||
clear: left;
|
clear: left;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.config {
|
&.config {
|
||||||
#test-mail-btn {
|
#test-mail-btn {
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
}
|
}
|
||||||
table tbody tr td:first-child {
|
table tbody tr td:first-child {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
pre {
|
pre {
|
||||||
background-color: #f7f7f7;
|
background-color: #f7f7f7;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
}
|
}
|
||||||
.log-config {
|
.log-config {
|
||||||
table tbody tr td {
|
table tbody tr td {
|
||||||
&:first-child {
|
&:first-child {
|
||||||
width: 100px;
|
width: 100px;
|
||||||
}
|
}
|
||||||
}
|
&:last-child pre {
|
||||||
}
|
width: 600px;
|
||||||
}
|
overflow-y: auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue