From 1594b8c171c2ee6d46eb1b58157bdf686ed2e6b1 Mon Sep 17 00:00:00 2001 From: Celeste Glavin Date: Wed, 10 Jul 2019 18:17:17 -0400 Subject: [PATCH 1/2] fix squishing on small containers --- .../core/src/components/radio-checkbox/_radio-checkbox.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/components/radio-checkbox/_radio-checkbox.scss b/packages/core/src/components/radio-checkbox/_radio-checkbox.scss index 423424cb..4f957f22 100644 --- a/packages/core/src/components/radio-checkbox/_radio-checkbox.scss +++ b/packages/core/src/components/radio-checkbox/_radio-checkbox.scss @@ -25,7 +25,7 @@ content: ''; background-color: $ray-color-white; border: $ray-radio-checkbox-border-width solid $ray-color-black; - width: $ray-radio-checkbox-size; + min-width: $ray-radio-checkbox-size; height: $ray-radio-checkbox-size; position: relative; display: inline-block; From 195f57340de4fa04ad14d193ef53796e3a19a574 Mon Sep 17 00:00:00 2001 From: Celeste Glavin Date: Thu, 11 Jul 2019 10:50:54 -0400 Subject: [PATCH 2/2] Update _radio-checkbox.scss --- packages/core/src/components/radio-checkbox/_radio-checkbox.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/core/src/components/radio-checkbox/_radio-checkbox.scss b/packages/core/src/components/radio-checkbox/_radio-checkbox.scss index 4f957f22..657d595d 100644 --- a/packages/core/src/components/radio-checkbox/_radio-checkbox.scss +++ b/packages/core/src/components/radio-checkbox/_radio-checkbox.scss @@ -26,6 +26,7 @@ background-color: $ray-color-white; border: $ray-radio-checkbox-border-width solid $ray-color-black; min-width: $ray-radio-checkbox-size; + width: $ray-radio-checkbox-size; height: $ray-radio-checkbox-size; position: relative; display: inline-block;