Merge pull request #6874 from penpot/xaviju-11355-tokens-import-details-layout

 Improve legibility on import token notification details
This commit is contained in:
Andrey Antukh
2025-07-21 11:54:08 +02:00
committed by GitHub
2 changed files with 3 additions and 2 deletions
@@ -47,7 +47,7 @@
(ntf/show {:content (tr "workspace.tokens.unknown-token-type-message")
:detail (->> (for [[token-type tokens] type->tokens]
(tr "workspace.tokens.unknown-token-type-section" token-type (count tokens)))
(str/join "\n"))
(str/join "<br>"))
:type :toast
:level :info})))
@@ -71,4 +71,5 @@
[:div {:on-click on-toggle-detail}
(tr "workspace.notification-pill.detail")]]
(when show-detail
[:div {:class (stl/css :error-detail-content)} detail])])]))
[:div {:class (stl/css :error-detail-content)
:dangerouslySetInnerHTML #js {:__html detail}}])])]))