From 7f879bf48cdf466ccdfbb9d564dee300266c1a87 Mon Sep 17 00:00:00 2001 From: Brooke Date: Fri, 17 Aug 2018 16:49:09 -0700 Subject: [PATCH] one size icon fits all --- src/Nri/Ui/Button/V3.elm | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/src/Nri/Ui/Button/V3.elm b/src/Nri/Ui/Button/V3.elm index 0e1b81ea..63e674ac 100644 --- a/src/Nri/Ui/Button/V3.elm +++ b/src/Nri/Ui/Button/V3.elm @@ -638,27 +638,6 @@ colorStyle colorPalette = ] ] ] - -- TODO: Weird case with borderless - -- , [ Css.Foreign.descendants - -- [ Css.Foreign.img - -- [ Css.height (px (config.imageHeight * 1.6)) - -- , marginRight (px (config.imageHeight * 1.6 / 6)) - -- ] - -- , Css.Foreign.svg - -- [ Css.height (px (config.imageHeight * 1.6)) |> important - -- , Css.width (px (config.imageHeight * 1.6)) |> important - -- , marginRight (px (config.imageHeight * 1.6 / 6)) - -- ] - -- , Css.Foreign.svg - -- [ Css.important <| Css.height (px (config.imageHeight * 1.6)) - -- , Css.important <| Css.width auto - -- , maxWidth (px (config.imageHeight * 1.25)) - -- , paddingRight (px (config.imageHeight * 1.6 / 6)) - -- , position relative - -- , bottom (px 2) - -- ] - -- ] - -- ] ) DangerColors ->