mirror of
https://github.com/go-gitea/gitea
synced 2025-07-23 02:38:35 +00:00
Fix various problems (#35012)
* Fix #35011 * Fix incorrect log message for "Protocol" * Remove unnecessary styles, fix "comment-header" wrap, fix label height
This commit is contained in:
@@ -185,10 +185,6 @@ details summary {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
details summary > * {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
progress {
|
||||
background: var(--color-secondary-dark-1);
|
||||
border-radius: var(--border-radius);
|
||||
@@ -474,15 +470,6 @@ a.label,
|
||||
color: var(--color-text-light-2);
|
||||
}
|
||||
|
||||
.ui.comments .comment .actions a {
|
||||
color: var(--color-text-light);
|
||||
}
|
||||
|
||||
.ui.comments .comment .actions a.active,
|
||||
.ui.comments .comment .actions a:hover {
|
||||
color: var(--color-primary);
|
||||
}
|
||||
|
||||
img.ui.avatar,
|
||||
.ui.avatar img,
|
||||
.ui.avatar svg {
|
||||
|
@@ -93,7 +93,6 @@ a.ui.label:hover {
|
||||
background: var(--color-button);
|
||||
border: 1px solid var(--color-light-border);
|
||||
color: var(--color-text-light);
|
||||
padding: calc(0.5833em - 1px) calc(0.833em - 1px);
|
||||
}
|
||||
a.ui.basic.label:hover {
|
||||
text-decoration: none;
|
||||
@@ -254,6 +253,7 @@ a.ui.ui.ui.basic.grey.label:hover {
|
||||
color: var(--color-label-hover-bg);
|
||||
}
|
||||
|
||||
/* "horizontal label" is actually "fat label" which has enough padding spaces to be used standalone in headers */
|
||||
.ui.horizontal.label {
|
||||
margin: 0 0.5em 0 0;
|
||||
padding: 0.4em 0.833em;
|
||||
|
@@ -1420,13 +1420,15 @@ td .commit-summary {
|
||||
.comment-header {
|
||||
background: var(--color-box-header);
|
||||
border-bottom: 1px solid var(--color-secondary);
|
||||
padding: 0 1rem;
|
||||
padding: 0.5em 1rem;
|
||||
position: relative;
|
||||
color: var(--color-text);
|
||||
min-height: 41px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.25em;
|
||||
}
|
||||
|
||||
.comment-header::before,
|
||||
@@ -1468,17 +1470,16 @@ td .commit-summary {
|
||||
left: 7px;
|
||||
}
|
||||
|
||||
.comment-header .actions a:not(.label) {
|
||||
padding: 0.5rem !important;
|
||||
}
|
||||
|
||||
.comment-header .actions .label {
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
.comment-header-left,
|
||||
.comment-header-right {
|
||||
gap: 4px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5em;
|
||||
}
|
||||
|
||||
.comment-header-right {
|
||||
flex: 1;
|
||||
justify-content: end;
|
||||
}
|
||||
|
||||
.comment-body {
|
||||
@@ -2014,15 +2015,6 @@ tbody.commit-list {
|
||||
.commit-table th.sha {
|
||||
display: none !important;
|
||||
}
|
||||
.comment-header {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.comment-header .comment-header-left {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.comment-header .comment-header-right {
|
||||
margin-left: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.commit-status-header {
|
||||
|
Reference in New Issue
Block a user