Skip to content

Commit 9a856ad

Browse files
authored
fix(cdk-experimental/tabs): fix tabs example styles (#31382)
1 parent 4be8722 commit 9a856ad

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/components-examples/cdk-experimental/tabs/cdk-tabs/cdk-tabs-example.css

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444

4545
.example-tablist[aria-disabled='true'] {
4646
background-color: var(--mat-sys-surface-dim);
47-
pointer-events: none;
4847
}
4948

5049
.example-tab {
@@ -67,20 +66,14 @@
6766
background: var(--mat-sys-surface-container);
6867
}
6968

70-
.example-tab[aria-selected='true'],
71-
.example-tablist:focus-within .example-tab.cdk-active[aria-selected='true'] {
69+
.example-tablist:focus-within .example-tab.cdk-active {
7270
background-color: var(--mat-sys-secondary-container);
7371
}
7472

7573
.example-tab[aria-disabled='true'] {
7674
background-color: var(--mat-sys-surface-dim);
77-
pointer-events: none;
7875
}
7976

8077
.example-tabpanel {
8178
margin: 8px;
8279
}
83-
84-
.example-tabpanel[inert] {
85-
display: none;
86-
}

0 commit comments

Comments
 (0)