Skip to content

Commit

Permalink
fix(material/tabs): remove CSS content from chevron element (#24091)
Browse files Browse the repository at this point in the history
Removes the `content` declaration from the tab chevrons. Usually it doesn't have an effect, but according to the discussion on #24085, it may cause an unnecessary tab stop.

(cherry picked from commit 6b79ea4)
  • Loading branch information
crisbeto authored and amysorto committed Dec 14, 2021
1 parent 92f7e6c commit 655b41a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/material-experimental/mdc-tabs/_tabs-common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ $mat-tab-animation-duration: 500ms !default;
.mat-mdc-tab-header-pagination-chevron {
border-style: solid;
border-width: 2px 2px 0 0;
content: '';
height: 8px;
width: 8px;
}
Expand Down
1 change: 0 additions & 1 deletion src/material/tabs/_tabs-common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ $tab-animation-duration: 500ms !default;
.mat-tab-header-pagination-chevron {
border-style: solid;
border-width: 2px 2px 0 0;
content: '';
height: 8px;
width: 8px;
}
Expand Down

0 comments on commit 655b41a

Please sign in to comment.