mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-02-19 12:55:24 +00:00
Ref: https://github.com/go-gitea/gitea/pull/24315#pullrequestreview-1403034993 And fix the incorrect layout for "dasbboard", the "form" shouldn't follow `<h4 class="ui top attached header">`, so move it to inner. Diff with ignoring spaces: https://github.com/go-gitea/gitea/pull/24370/files?diff=unified&w=1 A known bug: the adapt/delete button doesn't work due to a historical messy logic, will fix it in next PR (#24374)    
51 lines
946 B
CSS
51 lines
946 B
CSS
.admin.hooks .list > .item:not(:first-child) {
|
|
border-top: 1px solid var(--color-secondary);
|
|
padding: 0.25rem 1rem;
|
|
margin: 12px -1rem -1rem;
|
|
}
|
|
|
|
.admin.user table.table .email {
|
|
max-width: 200px;
|
|
}
|
|
|
|
.admin dl.admin-dl-horizontal {
|
|
padding: 1em;
|
|
margin: 0;
|
|
}
|
|
|
|
.admin dl.admin-dl-horizontal dd {
|
|
margin-left: 275px;
|
|
}
|
|
|
|
@media (max-width: 767px) {
|
|
.admin dl.admin-dl-horizontal dd {
|
|
margin-left: 5%;
|
|
}
|
|
}
|
|
|
|
.admin dl.admin-dl-horizontal dt {
|
|
font-weight: var(--font-weight-bold);
|
|
float: left;
|
|
width: 285px;
|
|
clear: left;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
@media (max-width: 767px) {
|
|
.admin dl.admin-dl-horizontal dt {
|
|
width: auto;
|
|
margin-right: 0.5em;
|
|
}
|
|
}
|
|
|
|
.admin code,
|
|
.admin pre {
|
|
white-space: pre-wrap;
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
.admin .ui.table.segment {
|
|
overflow-x: auto; /* if the screen width is small, many wide tables (eg: user list) need scroll bars */
|
|
}
|