Restore non-wrapping mobile tabs and clamp help tooltip in viewport
This commit is contained in:
@@ -37,15 +37,8 @@
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.sg-content-block-card-group__tabs[role="tablist"] > [role="tab"] {
|
||||
flex: 0 0 calc(
|
||||
(
|
||||
100%
|
||||
- (var(--spacing-small) * (var(--sg-tab-mobile-row-slots, 1) - 1))
|
||||
)
|
||||
/ var(--sg-tab-mobile-row-slots, 1)
|
||||
);
|
||||
min-width: 0;
|
||||
white-space: normal;
|
||||
overflow-wrap: anywhere;
|
||||
flex: 0 0 auto;
|
||||
min-width: max-content;
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user