File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ export const StyledButton = styled.button<StylingProps & { children: ReactElemen
9393 vertical-align: top;
9494 margin-right: ${ ( props ) => ( props . size === SIZES . SMALL ? '4' : '6' ) } px;
9595 margin-top: ${ ( props ) => ( props . size === SIZES . SMALL ? '0' : '-1' ) } px;
96- margin-bottom: ${ ( props ) => ( props . size === SIZES . SMALL ? '0' : '-2 ' ) } px;
96+ margin-bottom: ${ ( props ) => ( props . size === SIZES . SMALL ? '0' : '-1 ' ) } px;
9797
9898 /* Necessary for js mouse events to not glitch out when hovering on svgs */
9999 pointer-events: none;
@@ -147,6 +147,8 @@ export const StyledButton = styled.button<StylingProps & { children: ReactElemen
147147 svg {
148148 display: block;
149149 margin: 0;
150+ height: ${ props . size === SIZES . SMALL ? '14' : '16' } px;
151+ width: ${ props . size === SIZES . SMALL ? '14' : '16' } px;
150152 }
151153 padding: ${ props . size === SIZES . SMALL ? '7' : '12' } px;
152154 ` }
You can’t perform that action at this time.
0 commit comments