Skip to content

Commit

Permalink
fix(AdaptiveTabs): fix classnames (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimir Chernitsyn authored Mar 29, 2023
1 parent 46a6e96 commit e26f852
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions src/components/AdaptiveTabs/AdaptiveTabs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ $block: '.#{variables.$ns}adaptive-tabs';
top: 0;
will-change: left;

.adaptive-tabs__tab-container .adaptive-tabs__tab {
#{$block}__tab-container #{$block}__tab {
margin-right: 0;
}
}
Expand All @@ -96,12 +96,8 @@ $block: '.#{variables.$ns}adaptive-tabs';
padding-right: var(--gc-tabs-space-between);

&:not(&_switcher-tab):only-child {
.adaptive-tabs__tab {
#{$block}__tab {
cursor: auto;

.dl-draggable-handle-element.dashkit-plugin-widget__tabs_edit-mode & {
cursor: move;
}
}
}

Expand All @@ -113,15 +109,15 @@ $block: '.#{variables.$ns}adaptive-tabs';
padding-right: 0;
max-width: 100%;

.adaptive-tabs__tab {
#{$block}__tab {
width: auto;
display: inline-flex;
max-width: 100%;
}
}

&_no-overflow {
.adaptive-tabs__tab {
#{$block}__tab {
overflow: initial;
}
}
Expand Down

0 comments on commit e26f852

Please sign in to comment.