1
0
Fork 0
forked from forgejo/forgejo

Fix button size in "attached header right" (#28770) (#28774)

Backport #28770 by wxiaoguang

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
(cherry picked from commit 2a0fbe23b8)
This commit is contained in:
Giteabot 2024-01-12 23:04:19 +08:00 committed by Earl Warren
parent 453d27853c
commit 1069987293
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
4 changed files with 9 additions and 8 deletions

View file

@ -2022,11 +2022,12 @@ a.ui.basic.label:hover {
bottom: 0;
display: flex;
align-items: center;
gap: 0.25em;
}
.ui.attached.header > .ui.right > .button,
.ui.attached.header > .ui.right > .dropdown > .button {
padding: 8px 10px;
/* the default ".ui.attached.header > .ui.right" is only able to contain "tiny" buttons, other buttons are too large */
.ui.attached.header > .ui.right .ui.tiny.button {
padding: 6px 10px;
font-weight: var(--font-weight-normal);
}