Skip to content

Commit 2c33790

Browse files
authored
fix(CSS): correct :host selector specificity
* Corrects an issue with incorrect CSS specificity calculations of the `:host` selector in Blink-based browsers (Chrome/Opera)
1 parent 15542d3 commit 2c33790

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed
Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
@import (reference) "vars";
22

3-
:host {
4-
*, *::before, *::after {
5-
box-sizing: border-box;
6-
// TODO: convert below properties into .inheritTypography() mixin
7-
color: inherit;
8-
font: inherit;
9-
letter-spacing: inherit;
10-
}
3+
*, *::before, *::after {
4+
box-sizing: border-box;
5+
// TODO: convert below properties into .inheritTypography() mixin
6+
color: inherit;
7+
font: inherit;
8+
letter-spacing: inherit;
119
}

0 commit comments

Comments
 (0)