1
0
Fork 0
forked from forgejo/forgejo

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 1 deletions

View file

@ -128,11 +128,13 @@ It needs some tricks to tweak the left/right borders with active state */
.ui.primary.button:focus,
.ui.primary.buttons .button:focus {
background: var(--color-primary);
color: var(--color-primary-contrast);
}
.ui.primary.button:hover,
.ui.primary.buttons .button:hover {
background: var(--color-primary-hover);
color: var(--color-primary-contrast);
}
.ui.primary.button:active,