mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 11:18:36 +00:00
🐛 Fix broken update library notification link UI (#9070)
* 🐛 Fix broken update library notification link UI * ♻️ Format and lint
This commit is contained in:
parent
cd9151bf9f
commit
78c48f1953
@ -20,5 +20,7 @@
|
||||
}
|
||||
|
||||
.link {
|
||||
@extend %link;
|
||||
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
@ -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}])]))
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user