fix: reinstate the style-tag doc-comment fix lost when the merge commit was dropped for a rebase
This commit is contained in:
parent
94390da54c
commit
20e4f9cb65
2 changed files with 10 additions and 8 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue