Merge pull request #538 from NoRedInk/fix-tab-bottom-border

Fix hover bottom border
This commit is contained in:
d pham (they/them) 2020-06-16 13:38:03 -04:00 committed by GitHub
commit bd10545e0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -335,7 +335,13 @@ tabStyles isSelected customSpacing =
, Css.cursor Css.pointer
, Css.firstChild [ Css.marginLeft Css.zero ]
, property "transition" "background-color 0.2s"
, hover [ backgroundColor Colors.white, borderColor Colors.azure ]
, property "transition" "border-color 0.2s"
, hover
[ backgroundColor Colors.white
, borderTopColor Colors.azure
, borderRightColor Colors.azure
, borderLeftColor Colors.azure
]
]
in
baseStyles ++ stylesTab ++ stylesDynamic