From 2e31f2c4d18fc95bd534c6927d0116519ab97fc3 Mon Sep 17 00:00:00 2001 From: Tessa Kelly Date: Wed, 9 Mar 2022 15:32:40 -0800 Subject: [PATCH] Hide the icon background for mobile --- src/Nri/Ui/Message/V3.elm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Nri/Ui/Message/V3.elm b/src/Nri/Ui/Message/V3.elm index 60ebabfb..efc301fe 100644 --- a/src/Nri/Ui/Message/V3.elm +++ b/src/Nri/Ui/Message/V3.elm @@ -534,7 +534,9 @@ hideIconFor mediaQuery = Css.Global.selector "[role=img]" [ Css.display Css.none ] - , bannerImageBackground + , ExtraAttributes.nriDescriptionSelector bannerImageBackground + [ Css.display Css.none + ] ] ] ] @@ -823,7 +825,7 @@ getIcon customIcon size theme = , width (px 35) ] ] - , nriDescription bannerImageBackground + , ExtraAttributes.nriDescription bannerImageBackground ] [ UiIcon.bulb |> NriSvg.withColor Colors.mustard