Skip to content

Commit

Permalink
fix(tabs): fix flex layout causes incorrect spacing rendering for ove…
Browse files Browse the repository at this point in the history
…rflow list on mobile Safari
  • Loading branch information
gitwoz committed Sep 5, 2024
1 parent 9b01898 commit c44bf1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/SquareTabs/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
.tabList {
@mixin hide-scrollbar;

display: flex;
overflow-x: auto;
white-space: nowrap;
-webkit-overflow-scrolling: touch;

&.sticky {
Expand All @@ -58,7 +58,7 @@
.tabItem {
@mixin transition;

flex-shrink: 0;
display: inline-block;
padding: var(--sp5) var(--sp10);
margin-right: var(--sp16);
font-size: var(--text14);
Expand Down

0 comments on commit c44bf1a

Please sign in to comment.