🐛 Fix broken update library notification link UI (#9070)

* 🐛 Fix broken update library notification link UI

* ♻️ Format and lint
This commit is contained in:
Xaviju 2026-04-21 13:33:38 +02:00 committed by GitHub
parent cd9151bf9f
commit 78c48f1953
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 7 additions and 5 deletions

View File

@ -20,5 +20,7 @@
}
.link {
@extend %link;
margin: 0;
}

View File

@ -15,8 +15,8 @@
[app.main.data.workspace.shapes :as dwsh]
[app.main.data.workspace.shortcuts :as sc]
[app.main.data.workspace.texts :as dwt]
[app.main.data.workspace.tokens.application :as dwta]
[app.main.data.workspace.texts-v3 :as dwt-v3]
[app.main.data.workspace.tokens.application :as dwta]
[app.main.data.workspace.undo :as dwu]
[app.main.data.workspace.wasm-text :as dwwt]
[app.main.features :as features]
@ -509,4 +509,4 @@
:options (resolve-delay dropdown-options)
:selected selected-token-id
:align "right"
:ref set-option-ref}])]))
:ref set-option-ref}])]))

View File

@ -38,7 +38,7 @@
top (+ (get-in mdata [:position :y]) 5)
left (+ (get-in mdata [:position :x]) 5)
container (hooks/use-portal-container :popup)
rename-node (mf/use-fn
(mf/deps mdata on-rename-node)
(fn []
@ -46,7 +46,7 @@
type (get mdata :type)]
(when node
(on-rename-node node type)))))
duplicate-node (mf/use-fn
(mf/deps mdata on-duplicate-node)
(fn []
@ -76,7 +76,7 @@
(mf/set-ref-val! dropdown-direction-change* (inc (mf/ref-val dropdown-direction-change*)))))))
;; FIXME: perf optimization
(when is-open?
(mf/portal
(mf/html