fix: reinstate the style-tag doc-comment fix lost when the merge commit was dropped for a rebase

This commit is contained in:
iris 2026-07-31 21:56:37 +02:00
commit 20e4f9cb65
2 changed files with 10 additions and 8 deletions

View file

@ -1,8 +1,9 @@
/* hive-toast.css scoped stylesheet for the <hive-toast> shadow-DOM
custom element (hive-toast.js). Loaded as raw text at build time
(esbuild's `text` loader) and adopted via `adoptedStyleSheets`. `:host`
styles the element itself, which *is* the visible toast box; `:host(.error)`
etc. switch on a plain class the host element carries (set in JS). */
(esbuild's `text` loader) and appended as a `<style>` element inside
the shadow root. `:host` styles the element itself, which *is* the
visible toast box; `:host(.error)` etc. switch on a plain class the
host element carries (set in JS). */
:host {
display: block;