Skip to content

Commit

Permalink
fix: wrong inline padding
Browse files Browse the repository at this point in the history
  • Loading branch information
MarioCastigliano committed May 28, 2024
1 parent 0d1a3cd commit 35e21b5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/tabs/tab-title/tab-title.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
--sbb-tab-title-cursor: pointer;
--sbb-tab-title-pointer-events: unset;
--sbb-tab-title-inset: 0;
--sbb-tab-title-inline-padding: var(--sbb-spacing-responsive-xs);
--sbb-tab-title-marker-transform: scale(0);
--sbb-tab-title-text-decoration: none;
--sbb-tab-title-animation-duration: var(
Expand Down Expand Up @@ -42,6 +43,7 @@

:host([data-size='s']) {
--sbb-tab-title-height: var(--sbb-spacing-fixed-9x);
--sbb-tab-title-inline-padding: var(--sbb-spacing-responsive-xxxs);

@include sbb.mq($from: medium) {
--sbb-tab-title-height: var(--sbb-spacing-fixed-10x);
Expand Down Expand Up @@ -112,7 +114,7 @@
min-height: var(--sbb-tab-title-height);
display: flex;
align-items: center;
padding-inline: var(--sbb-spacing-responsive-xs);
padding-inline: var(--sbb-tab-title-inline-padding);
gap: var(--sbb-spacing-fixed-2x);
user-select: none;
cursor: var(--sbb-tab-title-cursor);
Expand Down

0 comments on commit 35e21b5

Please sign in to comment.