Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit d77fbc4

Browse files
committed
fix(tabs): md-align-tabs should only affect the current component
- it was styling nested `md-tabs` as well Fixes #10541
1 parent 77825d5 commit d77fbc4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/components/tabs/tabs.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,16 @@ md-tabs {
3030
}
3131
&[md-align-tabs="bottom"] {
3232
padding-bottom: $tabs-header-height;
33-
md-tabs-wrapper {
33+
34+
> md-tabs-wrapper {
3435
position: absolute;
3536
bottom: 0;
3637
left: 0;
3738
right: 0;
3839
height: $tabs-header-height;
3940
z-index: 2;
4041
}
41-
md-tabs-content-wrapper {
42+
> md-tabs-content-wrapper {
4243
top: 0;
4344
bottom: $tabs-header-height;
4445
}

0 commit comments

Comments
 (0)