mirror of
https://github.com/penpot/penpot.git
synced 2026-09-08 13:09:22 +00:00
🐛 Fix text editor v2 min size
This commit is contained in:
parent
8b29ca61c6
commit
acb3997ed7
@ -289,7 +289,9 @@
|
|||||||
:ref container-ref
|
:ref container-ref
|
||||||
:data-testid "text-editor-container"
|
:data-testid "text-editor-container"
|
||||||
:style {:width "var(--editor-container-width)"
|
:style {:width "var(--editor-container-width)"
|
||||||
:height "var(--editor-container-height)"}}
|
:height "var(--editor-container-height)"
|
||||||
|
:min-width "1px"
|
||||||
|
:min-height "1px"}}
|
||||||
;; We hide the editor when is blurred because otherwise the
|
;; We hide the editor when is blurred because otherwise the
|
||||||
;; selection won't let us see the underlying text. Use opacity
|
;; selection won't let us see the underlying text. Use opacity
|
||||||
;; because display or visibility won't allow to recover focus
|
;; because display or visibility won't allow to recover focus
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user