1
0
Fork 0
forked from forgejo/forgejo

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

Backport #27632 by @wxiaoguang

1. fix #27631 , and add samples to devtest page
2. fix incorrect color for "ui dropdown button" when hover

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
Giteabot 2023-10-16 16:15:15 +08:00 committed by GitHub
parent 8cf7548a18
commit 21c3513d49
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 1 deletions

View file

@ -2194,7 +2194,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 */
}