Skip to content

Commit beb42df

Browse files
committed
chore: tablet breakpoint
1 parent 0719ccd commit beb42df

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/components/Tabs/Bar.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ const Bar = ({ children }) => (
88
css={css`
99
display: flex;
1010
margin-bottom: 1em;
11+
overflow: scroll;
1112
`}
1213
>
1314
{React.Children.map(children, (child, index) =>

src/components/Tabs/BarItem.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,11 @@ const BarItem = ({ index, children, id, count, disabled }) => {
2323
2424
flex-grow: 1;
2525
text-align: center;
26-
padding: 0.5em 0;
26+
padding: 0.5em;
2727
border-bottom: 1px solid var(--color-neutrals-300);
2828
cursor: pointer;
2929
user-select: none;
30+
white-space: nowrap;
3031
3132
.dark-mode & {
3233
border-bottom-color: var(--color-dark-300);

0 commit comments

Comments
 (0)