Fix various UI problems (#34243)
Some checks are pending
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run
release-nightly / nightly-binary (push) Waiting to run

Also fix #34242
This commit is contained in:
wxiaoguang
2025-04-19 16:43:22 +08:00
committed by GitHub
parent eda6d65818
commit c9aa9068b3
12 changed files with 43 additions and 59 deletions

View File

@ -352,6 +352,14 @@ a.btn:hover {
color: inherit;
}
.btn.tiny {
font-size: 12px;
}
.btn.small {
font-size: 13px;
}
/* By default, Fomantic UI doesn't support "bordered" buttons group, but Gitea would like to use it.
And the default buttons always have borders now (not the same as Fomantic UI's default buttons, see above).
It needs some tricks to tweak the left/right borders with active state */

View File

@ -92,6 +92,10 @@
}
.tippy-box[data-theme="menu"] .item:focus {
background: var(--color-hover);
}
.tippy-box[data-theme="menu"] .item.active {
background: var(--color-active);
}