0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-18 10:41:29 -05:00

🐛 Fix comments padding

This commit is contained in:
Belén Albeza 2024-04-02 14:46:11 +02:00 committed by Andrey Antukh
parent 61df70b314
commit 8541ddc598
2 changed files with 7 additions and 4 deletions

View file

@ -422,8 +422,7 @@
:id (str "thread-" thread-id)
:style {:left (str pos-x "px")
:top (str pos-y "px")
:max-height max-height
:overflow-y "scroll"}
:max-height max-height}
:on-click dom/stop-propagation}
[:div {:class (stl/css :comments)}

View file

@ -142,10 +142,14 @@
// thread-content
.thread-content {
position: absolute;
pointer-events: auto;
user-select: text;
overflow-y: scroll;
scrollbar-gutter: stable;
width: $s-284;
padding: $s-12;
padding-inline-end: 0;
pointer-events: auto;
user-select: text;
border-radius: $br-8;
border: $s-2 solid var(--modal-border-color);
background-color: var(--comment-modal-background-color);