From 238d162c14b61a996b0962e14970cd67c41638f5 Mon Sep 17 00:00:00 2001 From: Michael Arestad Date: Fri, 2 Sep 2022 14:11:42 -0600 Subject: [PATCH] Switched to using negative margin for a more positive future --- code/lib/blocks/src/components/ArgsTable/ArgsTable.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/code/lib/blocks/src/components/ArgsTable/ArgsTable.tsx b/code/lib/blocks/src/components/ArgsTable/ArgsTable.tsx index 7cc10c2a3f2..96f2d38ec07 100644 --- a/code/lib/blocks/src/components/ArgsTable/ArgsTable.tsx +++ b/code/lib/blocks/src/components/ArgsTable/ArgsTable.tsx @@ -67,7 +67,7 @@ export const TableWrapper = styled.table<{ }, 'th:last-of-type, td:last-of-type': { - paddingRight: 7, + paddingRight: 20, ...(compact ? null : { @@ -81,8 +81,8 @@ export const TableWrapper = styled.table<{ theme.base === 'light' ? transparentize(0.25, theme.color.defaultText) : transparentize(0.45, theme.color.defaultText), - paddingTop: 6, - paddingBottom: 6, + paddingTop: 10, + paddingBottom: 10, paddingLeft: 15, paddingRight: 15, lineHeight: '28px', // matches height of IconButton @@ -206,7 +206,7 @@ export const TableWrapper = styled.table<{ const StyledIconButton = styled(IconButton as any)(({ theme }) => ({ color: theme.barTextColor, - margin: 0, + margin: '0 -12px 0 0', })); const ControlHeadingWrapper = styled.span({