diff --git a/src/components/Toast.astro b/src/components/Toast.astro index 392016f..90ea9ed 100644 --- a/src/components/Toast.astro +++ b/src/components/Toast.astro @@ -93,6 +93,8 @@ const { for: formId, labels } = Astro.props; color: var(--ink-muted-on-night); } .toast__message:empty { display: none; } + /* With the head alone (while sending), it sits centred in the panel. */ + .toast:has(.toast__message:empty) { padding-bottom: var(--space-4); } /* A hairline counts down the time until the toast leaves, longer for an error, which has more to read. Pointer or focus pauses it. */ .toast__timer {