mirror of
https://github.com/penpot/penpot.git
synced 2026-02-13 07:02:58 +00:00
🐛 Fix notification vertical alignment (#6272)
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -88,6 +88,9 @@
|
||||
display: grid;
|
||||
max-height: 92vh;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.with-detail {
|
||||
grid-template-rows: auto 1fr;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user