summaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
authorGiteabot <teabot@gitea.io>2023-06-25 02:35:26 -0400
committerGitHub <noreply@github.com>2023-06-25 14:35:26 +0800
commit85bad22ff86bd76b43d6ad4144bf91c4fb9e619e (patch)
tree87358b4250f61170a72bc6b8af6d9a2e8f5867b5 /web_src
parent71d2a6a41a7fea7a71efa125f47567b5cb5ba56a (diff)
downloadgitea-85bad22ff86bd76b43d6ad4144bf91c4fb9e619e.tar.gz
gitea-85bad22ff86bd76b43d6ad4144bf91c4fb9e619e.zip
Fine tune "dropdown button" icon (#25442) (#25499)
Backport #25442 by @wxiaoguang ![image](https://github.com/go-gitea/gitea/assets/2114189/143e043d-85c9-43a4-85ae-ca55f507f738) ---- ![image](https://github.com/go-gitea/gitea/assets/2114189/bcba03a5-732e-4139-bc35-96a7f8bfcb88) Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'web_src')
-rw-r--r--web_src/css/base.css11
1 files changed, 11 insertions, 0 deletions
diff --git a/web_src/css/base.css b/web_src/css/base.css
index 336acd1b64..af8fb69e5a 100644
--- a/web_src/css/base.css
+++ b/web_src/css/base.css
@@ -2289,6 +2289,17 @@ table th[data-sortt-desc] .svg {
- "> .ui.label > .delete.icon": the "x" icon for removing a label item in multiple selection dropdown
*/
+.ui.dropdown.mini.button,
+.ui.dropdown.tiny.button {
+ padding-right: 20px;
+}
+.ui.dropdown.button {
+ padding-right: 22px;
+}
+.ui.dropdown.large.button {
+ padding-right: 24px;
+}
+
/* Gitea uses SVG images instead of Fomantic builtin "<i>" font icons, so we need to reset the icon styles */
.ui.ui.dropdown > .icon.icon {
position: initial; /* plain dropdown and button dropdown use flex layout for icons */