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,10 +1,11 @@
/* hive-dialog.css scoped stylesheet for the <hive-dialog> shadow-DOM
custom element (hive-dialog.js). Loaded as raw text at build time
(esbuild's `text` loader) and adopted via `adoptedStyleSheets`. `:host`
styles the element itself, which *is* the fixed-position backdrop no
separate light-DOM backdrop div. Button styling (base look + cancel/
confirm/danger variants) lives in hive-btn.css, not here the dialog's
buttons are <hive-btn> elements with their own shadow root. */
(esbuild's `text` loader) and appended as a `<style>` element inside
the shadow root. `:host` styles the element itself, which *is* the
fixed-position backdrop no separate light-DOM backdrop div. Button
styling (base look + cancel/confirm/danger variants) lives in
hive-btn.css, not here the dialog's buttons are <hive-btn> elements
with their own shadow root. */
:host {
position: fixed;

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;