From cc22fd4e9dd31dac5b2f15f1695171823ba2691c Mon Sep 17 00:00:00 2001 From: Charles Hacskaylo Date: Tue, 17 Jul 2018 17:07:42 -0700 Subject: [PATCH] Broaden selector to handle wrapped links/buttons (#2118) Fixes #2116 - When buttons or links with icons are wrapped, let the styling set margin and size properly; --- platform/commonUI/general/res/sass/controls/_indicators.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platform/commonUI/general/res/sass/controls/_indicators.scss b/platform/commonUI/general/res/sass/controls/_indicators.scss index 022ef25eda..604594f67f 100644 --- a/platform/commonUI/general/res/sass/controls/_indicators.scss +++ b/platform/commonUI/general/res/sass/controls/_indicators.scss @@ -66,7 +66,8 @@ mct-indicators mct-include { } } - > [class*='icon-'] { + [class*='icon-'] { + // If any elements within label include the class 'icon-*' then deal with their :before's &:before { font-size: 0.8em; margin-right: $interiorMarginSm;