File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -383,6 +383,15 @@ $mat-tab-animation-duration: 500ms !default;
383
383
display : flex ;
384
384
flex : 1 0 auto ;
385
385
386
+ @include token-utils .use-tokens (
387
+ tokens-mdc-secondary-navigation-tab .$prefix ,
388
+ tokens-mdc-secondary-navigation-tab .get-token-slots ()
389
+ ) {
390
+ // Prevents the container from collapsing if there are no tabs
391
+ // which can be problematic for tab headers that use drag&drop.
392
+ @include token-utils .create-token-slot (min-height , container- height);
393
+ }
394
+
386
395
// We need to set the parent here explicitly, in order to prevent the alignment
387
396
// from any parent tab groups from propagating down to the children when nesting.
388
397
// Note that these are used as inputs so they shouldn't be changed to `mat-mdc-`.
You can’t perform that action at this time.
0 commit comments