mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-12-18 19:21:29 +03:00
Merge pull request #880 from NoRedInk/growth/dont-shrink-premium-flags
Adds flex-shrink: 0 to checkbox premium flags
This commit is contained in:
commit
866cfb88e4
@ -190,7 +190,7 @@ view { label, onChange } attributes =
|
||||
|
||||
else
|
||||
-- left-align the checkbox with checkboxes that _do_ have the premium pennant
|
||||
Html.div [ css [ Css.width (Css.px (iconWidth + iconRightMargin)) ] ] []
|
||||
Html.div [ css [ Css.width (Css.px (iconWidth + iconRightMargin)), Css.flexShrink Css.zero ] ] []
|
||||
, Checkbox.viewWithLabel
|
||||
{ identifier = idValue
|
||||
, label = label
|
||||
@ -270,7 +270,7 @@ viewPremiumFlag =
|
||||
|> Svg.withLabel "Premium"
|
||||
|> Svg.withWidth (Css.px iconWidth)
|
||||
|> Svg.withHeight (Css.px 30)
|
||||
|> Svg.withCss [ Css.marginRight (Css.px iconRightMargin) ]
|
||||
|> Svg.withCss [ Css.marginRight (Css.px iconRightMargin), Css.flexShrink Css.zero ]
|
||||
|> Svg.toHtml
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user