change gradient stops for active tab to 0%,100%

This commit is contained in:
Juan Edi 2023-04-04 21:21:41 -03:00
parent 902b674b43
commit 69f4b8778b

View File

@ -387,8 +387,8 @@ tabStyles customSpacing fadeToPanelBackgroundColor_ index isSelected =
, Css.backgroundImage <|
Css.linearGradient2 Css.toTop
(Css.stop2 (withAlpha 1 fadeToPanelBackgroundColor_) (Css.pct 0))
(Css.stop2 (withAlpha 0 fadeToPanelBackgroundColor_) (Css.pct 25))
[ Css.stop2 (withAlpha 0 fadeToPanelBackgroundColor_) (Css.pct 100) ]
(Css.stop2 (withAlpha 0 fadeToPanelBackgroundColor_) (Css.pct 100))
[]
]
else