-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Client component causes unwanted inline style #7732
Copy link
Copy link
Closed as not planned
Labels
needs triageIssue needs to be triagedIssue needs to be triaged
Description
What version of astro are you using?
2.8.5
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
pnpm
What operating system are you using?
Mac
What browser are you using?
Safari
Describe the Bug
When using a component with the client:* directive, astro creates this inline style:
<style>
astro-island, astro-slot {
display: contents
}
</style>This comes a bit unexpected as the config option build.inlineStylesheets is set to never (the default) which should cause "all styles are sent in external stylesheets" as the documentation says.
What's the expected result?
Have external stylesheets exclusively.
Link to Minimal Reproducible Example
Participation
- I am willing to submit a pull request for this issue.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
needs triageIssue needs to be triagedIssue needs to be triaged