🐛 Fix notification vertical alignment (#6272)

This commit is contained in:
Eva Marco
2025-04-10 13:53:20 +02:00
committed by GitHub
parent 20f695e8d7
commit 580b60550c
2 changed files with 5 additions and 2 deletions

View File

@@ -37,9 +37,9 @@
{::mf/props :obj
::mf/schema schema:notification-pill}
[{:keys [level type is-html appearance detail children show-detail on-toggle-detail]}]
(let [class (stl/css-case :notification-pill true
:appearance-neutral (= appearance :neutral)
(let [class (stl/css-case :appearance-neutral (= appearance :neutral)
:appearance-ghost (= appearance :ghost)
:with-detail detail
:type-toast (= type :toast)
:type-context (= type :context)
:level-default (= level :default)

View File

@@ -88,6 +88,9 @@
display: grid;
max-height: 92vh;
overflow: hidden;
}
.with-detail {
grid-template-rows: auto 1fr;
}