mirror of
https://github.com/penpot/penpot.git
synced 2025-05-20 01:56:12 +02:00
🐛 Fix annotations size: adjust textarea height according to annotation content
This commit is contained in:
parent
85e1899f6b
commit
1770bb995b
2 changed files with 11 additions and 2 deletions
|
@ -99,7 +99,7 @@
|
|||
(fn [] (st/emit! (dw/set-annotations-id-for-create nil))))) ;; cleanup set-annotationsid-for-create on unload
|
||||
|
||||
(when (or creating? annotation)
|
||||
[:div.component-annotation {:class (dom/classnames :editing @editing?)}
|
||||
[:div.component-annotation {:class (dom/classnames :editing @editing? :creating creating?)}
|
||||
[:div.title {:class (dom/classnames :expandeable (not (or @editing? creating?)))
|
||||
:on-click #(expand (not annotations-expanded?))}
|
||||
[:div (if (or @editing? creating?)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue