From 441942e2a5722139a3f6612be03650f18f925d45 Mon Sep 17 00:00:00 2001 From: Jake Laderman Date: Mon, 3 Mar 2025 03:02:24 -0700 Subject: [PATCH] fix: switch within table bug (#688) --- src/components/Switch.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/Switch.tsx b/src/components/Switch.tsx index cac8d68d..78f17e89 100644 --- a/src/components/Switch.tsx +++ b/src/components/Switch.tsx @@ -30,6 +30,7 @@ export type SwitchProps = UseSwitchProps & { className?: string } const SwitchSC = styled.label( ({ $checked, $disabled, $readOnly, theme }) => ({ + position: 'relative', display: 'flex', columnGap: theme.spacing.xsmall, alignItems: 'center',