Skip to content

Commit

Permalink
fix: Adjust toggle-button min-height for accessibility when zooming (#…
Browse files Browse the repository at this point in the history
…222)

* fix: Adjust min-height for accessibility when zooming

* fix: Adjust min-height for accessibility when zooming

* fix: Adjust min-height for accessibility when zooming

* fix: Adjust min-height for accessibility when zooming
  • Loading branch information
mclaberge authored Mar 5, 2021
1 parent 8845c31 commit c77d44b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ const ToggleButton = styled.button<ToggleButtonProps>`
color: ${(props) => (props.pressed ? props.theme.main['primary-2'] : props.theme.greys['dark-grey'])};
cursor: pointer;
font-size: ${(props) => (props.isMobile ? '1rem' : '0.875rem')};
height: ${(props) => (props.isMobile ? '48px' : '40px')};
letter-spacing: 0.02875rem;
min-height: ${(props) => (props.isMobile ? '48px' : '40px')};
padding: 0 var(--spacing-2x);
${(props) => props.pressed && css`
Expand Down

0 comments on commit c77d44b

Please sign in to comment.