We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6982ca7 commit 0f15d19Copy full SHA for 0f15d19
src/material/badge/_badge-theme.scss
@@ -102,6 +102,14 @@ $_badge-structure-emitted: false !default;
102
position: relative;
103
}
104
105
+ // The badge should make sure its host is overflow visible so that the badge content
106
+ // can be rendered outside of the element. Some components such as <mat-icon> explicitly
107
+ // style `overflow: hidden` so this requires extra specificity so that it does not
108
+ // depend on style load order.
109
+ .mat-badge.mat-badge {
110
+ overflow: visible;
111
+ }
112
+
113
.mat-badge-hidden {
114
.mat-badge-content {
115
display: none;
0 commit comments