Skip to content

Commit

Permalink
fix(tabs): Bottom border of .p-tabs__list spans full width on all s…
Browse files Browse the repository at this point in the history
…creen sizes (#5457)

* fix(tabs): Bottom border of `.p-tabs__list` spans full width on all screen sizes

* fix incorrect height/thickness of the tabs list bottom border
  • Loading branch information
jmuzina authored Jan 24, 2025
1 parent 9085bf5 commit fa37ab5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vanilla-framework",
"version": "4.20.1",
"version": "4.20.2",
"author": {
"email": "webteam@canonical.com",
"name": "Canonical Webteam"
Expand Down
7 changes: 2 additions & 5 deletions scss/_patterns_tabs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,15 @@
position: relative;

&__list {
@extend %vf-pseudo-border--bottom;

// inset box shadow used to draw the border inside the list's box
box-shadow: inset 0 -1px 0 0 $colors--theme--border-default;
display: flex;
margin: 0 auto $spv--x-large;
overflow-x: auto;
padding: 0;
position: relative;
white-space: nowrap;
width: 100%;
&::after {
background-color: $colors--theme--border-default;
}
}

&__item {
Expand Down

0 comments on commit fa37ab5

Please sign in to comment.