0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-31 19:39:07 -05:00

🐛 Fix problem growing text area

This commit is contained in:
alonso.torres 2025-01-15 15:00:11 +01:00
parent e1b85c8fe6
commit 007740c106
2 changed files with 4 additions and 1 deletions

View file

@ -996,7 +996,7 @@
:id (str "thread-" thread-id)
:style {:left (str pos-x "px")
:top (str pos-y "px")
:max-height max-height}
"--comment-height" (str max-height "px")}
:on-click dom/stop-propagation}
[:div {:class (stl/css :floating-thread-header)}

View file

@ -152,6 +152,7 @@
border-radius: $br-8;
border: $s-2 solid var(--modal-border-color);
background-color: var(--comment-modal-background-color);
max-height: var(--comment-height);
--translate-x: 0%;
--translate-y: 0%;
transform: translate(var(--translate-x), var(--translate-y));
@ -229,6 +230,8 @@
display: flex;
flex-direction: column;
gap: $s-8;
max-height: calc(var(--comment-height) - $s-132);
textarea {
@extend .input-element;
@include bodySmallTypography;