1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Improve dropdown button alignment and fix hover bug (#27632)

1. fix #27631 , and add samples to devtest page
2. fix incorrect color for "ui dropdown button" when hover
This commit is contained in:
wxiaoguang
2023-10-16 15:26:08 +08:00
committed by GitHub
parent d1f85525d0
commit 6c501b1498
3 changed files with 12 additions and 1 deletions

View File

@@ -1952,7 +1952,7 @@ table th[data-sortt-desc] .svg {
height: 15px;
}
.ui.dropdown {
.ui.dropdown:not(.button) {
line-height: var(--line-height-default); /* the dropdown doesn't have default line-height, use this to make the dropdown icon align with plain dropdown */
}