From 67dee478afebeef681dc9f12229b650ca12fca82 Mon Sep 17 00:00:00 2001 From: Daniel Sil Date: Wed, 8 Mar 2023 15:30:21 +0100 Subject: [PATCH] fix(SegmentedSwitch): adjust height to match design specs --- .../src/SegmentedSwitch/SwitchSegment/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/orbit-components/src/SegmentedSwitch/SwitchSegment/index.tsx b/packages/orbit-components/src/SegmentedSwitch/SwitchSegment/index.tsx index ce918a4c59..1f6f7a8b82 100644 --- a/packages/orbit-components/src/SegmentedSwitch/SwitchSegment/index.tsx +++ b/packages/orbit-components/src/SegmentedSwitch/SwitchSegment/index.tsx @@ -23,11 +23,12 @@ export const StyledText = styled.div` background: ${theme.orbit.paletteWhite}; color: ${theme.orbit.paletteInkNormal}; border: 0; - padding: 13px 12px; + padding: ${theme.orbit.spaceSmall}; color: ${theme.orbit.paletteInkLight}; font-family: ${theme.orbit.fontFamily}; font-weight: ${theme.orbit.fontWeightMedium}; font-size: ${theme.orbit.fontSizeTextNormal}; + line-height: ${theme.orbit.lineHeightTextNormal}; cursor: pointer; transition: color ${theme.orbit.durationFast} ease-in-out; width: 100%;