From 3ab90906a35bb977e601bc29d5ee418662957754 Mon Sep 17 00:00:00 2001 From: Dilyana Dimova Date: Wed, 11 May 2022 13:28:38 +0300 Subject: [PATCH] fix(switch): fix switch getting shrinked when space is small --- src/components/checkbox/themes/light/switch.base.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/checkbox/themes/light/switch.base.scss b/src/components/checkbox/themes/light/switch.base.scss index b8c33b1e0..8f029e2ae 100644 --- a/src/components/checkbox/themes/light/switch.base.scss +++ b/src/components/checkbox/themes/light/switch.base.scss @@ -35,6 +35,7 @@ label { [part~='control'] { display: flex; + flex-shrink: 0; align-items: center; user-select: none; transition: all .2s ease-in-out;