summaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
authorGiteabot <teabot@gitea.io>2024-01-12 23:04:19 +0800
committerGitHub <noreply@github.com>2024-01-12 15:04:19 +0000
commit2a0fbe23b8b00010aeadd793207033580bac1253 (patch)
treef57156a11f3d8a3eab7d982085493d1c7514e3b9 /web_src
parent95901a99c0bbbde022afd9e9297c0ee14fc7e9a4 (diff)
downloadgitea-2a0fbe23b8b00010aeadd793207033580bac1253.tar.gz
gitea-2a0fbe23b8b00010aeadd793207033580bac1253.zip
Fix button size in "attached header right" (#28770) (#28774)
Backport #28770 by wxiaoguang Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'web_src')
-rw-r--r--web_src/css/base.css7
1 files changed, 4 insertions, 3 deletions
diff --git a/web_src/css/base.css b/web_src/css/base.css
index 87912179a4..cd46aaf7e6 100644
--- a/web_src/css/base.css
+++ b/web_src/css/base.css
@@ -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);
}