-
Notifications
You must be signed in to change notification settings - Fork 42
host style requires CSP with style-src 'unsafe-inline' #109
Copy link
Copy link
Open
Description
Is there another way to style the host as block without an inline style? Or could there be a mechanism for the host page to control the insertion of this style?
include-fragment-element/src/include-fragment-element.ts
Lines 96 to 98 in 75ac8d9
| const style = document.createElement('style') | |
| style.textContent = `:host {display: block;}` | |
| this.shadowRoot!.append(style, document.createElement('slot')) |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Give feedbackNo fields configured for issues without a type.