don't shrink any icon case

This commit is contained in:
Brian Hicks 2020-09-14 16:07:08 -05:00
parent e53d9bcdfd
commit 97b48c991a

View File

@ -540,7 +540,7 @@ getIcon size theme =
|> NriSvg.withColor Colors.purple
|> NriSvg.withWidth iconSize
|> NriSvg.withHeight iconSize
|> NriSvg.withCss [ marginRight ]
|> NriSvg.withCss [ marginRight, Css.flexShrink Css.zero ]
|> NriSvg.withLabel "Error"
|> NriSvg.toHtml
@ -558,7 +558,7 @@ getIcon size theme =
|> NriSvg.withColor color
|> NriSvg.withWidth iconSize
|> NriSvg.withHeight iconSize
|> NriSvg.withCss [ marginRight ]
|> NriSvg.withCss [ marginRight, Css.flexShrink Css.zero ]
|> NriSvg.withLabel "Alert"
|> NriSvg.toHtml
@ -608,7 +608,7 @@ getIcon size theme =
|> NriSvg.withColor Colors.green
|> NriSvg.withWidth iconSize
|> NriSvg.withHeight iconSize
|> NriSvg.withCss [ marginRight ]
|> NriSvg.withCss [ marginRight, Css.flexShrink Css.zero ]
|> NriSvg.withLabel "Success"
|> NriSvg.toHtml
@ -616,7 +616,7 @@ getIcon size theme =
icon
|> NriSvg.withWidth iconSize
|> NriSvg.withHeight iconSize
|> NriSvg.withCss [ marginRight ]
|> NriSvg.withCss [ marginRight, Css.flexShrink Css.zero ]
|> NriSvg.toHtml