Support web components/shadow DOM.

Add :host to all uses of :root
This commit is contained in:
Robert Coup 2024-12-02 13:53:36 +00:00
parent 6dc6489e69
commit 02c9fb69da
No known key found for this signature in database
6 changed files with 14 additions and 7 deletions

View file

@ -47,7 +47,8 @@
}
// Hide the overflow in IE
#{$parent-selector} svg:not(:root) {
#{$parent-selector} svg:not(:root),
#{$parent-selector} svg:not(:host) {
overflow: hidden;
}
}