Skip to content

Commit

Permalink
Mobile overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dlnr committed Feb 9, 2024
1 parent e7cbbbd commit 13b4558
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions packages/css/src/components/tabs/tabs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@
}

.amsterdam-tabs__list {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
overflow-x: auto;
overflow-y: hidden;
position: relative;

&::before {
Expand All @@ -48,6 +53,7 @@

&:hover:not(.amsterdam-tabs__button--selected, .amsterdam-tabs__button--disabled)::after {
background-color: currentColor;
height: 4px;
@extend .amsterdam-tabs-underline;
}

Expand Down Expand Up @@ -75,4 +81,5 @@

.amsterdam-tabs__panel {
grid-area: 2 / 1;
padding-block: 1rem; // temp
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"amsterdam": {
"tabs": {
"border-color": { "value": "{amsterdam.color.primary-blue}" },
"border-width": { "value": ".25rem" },
"border-width": { "value": "2px" },
"list": {
"border-color": { "value": "{amsterdam.color.primary-blue}" }
},
Expand Down

0 comments on commit 13b4558

Please sign in to comment.