Add svg label

this seems redundant to me, but not sure how to get around it in the tests given how the tooltip currenlty works (probably display:none on the tooltip content rather than not rendering it would be better)
This commit is contained in:
Tessa Kelly 2020-09-09 11:11:14 -07:00
parent 39eae7b313
commit 89e212d0bd

View File

@ -161,6 +161,7 @@ allTabs openTooltipId =
UiIcon.bulb UiIcon.bulb
|> Svg.withWidth (Css.px 40) |> Svg.withWidth (Css.px 40)
|> Svg.withHeight (Css.px 45) |> Svg.withHeight (Css.px 45)
|> Svg.withLabel "Bulb"
|> Svg.withCss [ Css.padding2 Css.zero (Css.px 6) ] |> Svg.withCss [ Css.padding2 Css.zero (Css.px 6) ]
|> Svg.toHtml |> Svg.toHtml
in in