css: fix /admin/config pre overflow

pull/5955/head
ᴜɴᴋɴᴡᴏɴ 2020-02-29 23:34:03 +08:00
parent 8796df8218
commit 333998509f
No known key found for this signature in database
GPG Key ID: B43718D76E30A238
4 changed files with 86 additions and 77 deletions

File diff suppressed because one or more lines are too long

View File

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

View File

@ -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;
}
}
}
}
} }