From b4d91b9b8c104e1ab556f111326b7154d6b44e61 Mon Sep 17 00:00:00 2001 From: emyarod Date: Thu, 25 Feb 2021 14:58:29 -0600 Subject: [PATCH] fix(checkbox): avoid outline cutoff in hidden overflow containers (#7887) Co-authored-by: TJ Egan Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> --- packages/components/src/components/checkbox/_checkbox.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/components/src/components/checkbox/_checkbox.scss b/packages/components/src/components/checkbox/_checkbox.scss index 222a6d673515..936a7cf5729e 100644 --- a/packages/components/src/components/checkbox/_checkbox.scss +++ b/packages/components/src/components/checkbox/_checkbox.scss @@ -85,7 +85,8 @@ // different checkbox states. width: rem(16px); height: rem(16px); - margin: rem(2px); + // increase left margin for #6480 + margin: rem(2px) rem(2px) rem(2px) rem(3px); // Checkboxes with a background color look visually off against a parent container. background-color: transparent;