From 829e08277452cd2230dc4009ce0d16b8cfaf8d43 Mon Sep 17 00:00:00 2001 From: Lena Morita Date: Wed, 7 Aug 2024 22:22:00 +0900 Subject: [PATCH] Add comment --- packages/components/src/text-control/style.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/components/src/text-control/style.scss b/packages/components/src/text-control/style.scss index d2a18f8b09a10c..d6819f86b84bf1 100644 --- a/packages/components/src/text-control/style.scss +++ b/packages/components/src/text-control/style.scss @@ -20,6 +20,9 @@ &.is-next-40px-default-size { height: $grid-unit-50; + + // Subtract 1px to account for the border, which isn't included on the element + // on newer components like InputControl, SelectControl, etc. padding-left: $grid-unit-20; padding-right: $grid-unit-20; }