From 7da65f383cbb3e6a0db19b3697bc07d9be92e988 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Fri, 8 Apr 2022 13:27:13 +0200 Subject: [PATCH] MOBILE-3833 style: Fix margin on chip with non slotted icons --- src/theme/theme.base.scss | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/theme/theme.base.scss b/src/theme/theme.base.scss index 32100b047..fe26a3881 100644 --- a/src/theme/theme.base.scss +++ b/src/theme/theme.base.scss @@ -1054,8 +1054,15 @@ ion-button.chip { ion-icon { font-size: 16px; min-width: 16px; + @include margin(0, 8px, 0, 0); } + ion-label { + white-space: normal !important; + } +} + +ion-button.chip { ion-icon[slot=start] { @include margin(0, 8px, 0, 0); } @@ -1063,10 +1070,6 @@ ion-button.chip { ion-icon[slot=end] { @include margin(0, 0, 0, 8px); } - - ion-label { - white-space: normal !important; - } } ion-chip {