From f51c0811eb6b55876f23e9362a69c9b2d2b54a17 Mon Sep 17 00:00:00 2001 From: Oleksandr Fediashov Date: Mon, 29 Nov 2021 09:59:44 +0100 Subject: [PATCH] use shorthand --- .../src/components/Checkbox/useCheckboxStyles.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/react-checkbox/src/components/Checkbox/useCheckboxStyles.ts b/packages/react-checkbox/src/components/Checkbox/useCheckboxStyles.ts index 70a25fa7eaac9..52bb87a839a52 100644 --- a/packages/react-checkbox/src/components/Checkbox/useCheckboxStyles.ts +++ b/packages/react-checkbox/src/components/Checkbox/useCheckboxStyles.ts @@ -170,8 +170,7 @@ const useIndicatorStyles = makeStyles({ width: '100%', height: '100%', fill: 'currentColor', - overflowX: 'hidden', - overflowY: 'hidden', + ...shorthands.overflow('hidden'), display: 'flex', alignItems: 'center', justifyContent: 'center',