We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3a95ab commit 133e6dcCopy full SHA for 133e6dc
src/material/tabs/_tabs-common.scss
@@ -393,6 +393,15 @@ $mat-tab-animation-duration: 500ms !default;
393
[mat-align-tabs='end'] > #{$parent} & {
394
justify-content: flex-end;
395
}
396
+
397
+ @include token-utils.use-tokens(
398
+ tokens-mdc-secondary-navigation-tab.$prefix,
399
+ tokens-mdc-secondary-navigation-tab.get-token-slots()
400
+ ) {
401
+ // Prevent the header from collapsing when all the items are removed. This is useful
402
+ // if the tabs are set up with drag&drop and one of the lists is emptied out.
403
+ @include token-utils.create-token-slot(min-height, container-height);
404
+ }
405
406
407
// Structural styles for the element that wraps the paginated container's content.
0 commit comments