Skip to content

Commit 29e81b1

Browse files
committed
fix(tabs): Remove the --tabs-width variable
1 parent 5a447fa commit 29e81b1

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/components/tabs/themes/tab.base.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,12 @@
7070
display: none;
7171
position: sticky;
7272
inset-inline-start: 0;
73-
width: var(--tabs-width);
73+
width: 100%;
74+
height: 100%;
7475
grid-row: 3;
7576
grid-column: 1 / -1;
7677
max-width: var(--_ig-tabs-width);
7778
transition: transform 250ms ease-in-out;
78-
height: 100%;
7979
}
8080

8181
:host([selected]) {

src/components/tabs/themes/tabs.base.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@
44
@use 'sass:map';
55

66
:host {
7-
// Scroll buttons
87
--scroll-btn-size: #{rem(48px)};
9-
--tabs-width: 100%;
108
--tab-max-width: #{rem(360px)};
119
--tab-min-width: #{rem(90px)};
1210
--_border-size: #{rem(1px)};

0 commit comments

Comments
 (0)