mirror of
https://github.com/penpot/penpot.git
synced 2025-04-01 01:21:21 -05:00
🐛 Fix comments padding
This commit is contained in:
parent
61df70b314
commit
8541ddc598
2 changed files with 7 additions and 4 deletions
|
@ -422,8 +422,7 @@
|
||||||
:id (str "thread-" thread-id)
|
:id (str "thread-" thread-id)
|
||||||
:style {:left (str pos-x "px")
|
:style {:left (str pos-x "px")
|
||||||
:top (str pos-y "px")
|
:top (str pos-y "px")
|
||||||
:max-height max-height
|
:max-height max-height}
|
||||||
:overflow-y "scroll"}
|
|
||||||
:on-click dom/stop-propagation}
|
:on-click dom/stop-propagation}
|
||||||
|
|
||||||
[:div {:class (stl/css :comments)}
|
[:div {:class (stl/css :comments)}
|
||||||
|
|
|
@ -142,10 +142,14 @@
|
||||||
// thread-content
|
// thread-content
|
||||||
.thread-content {
|
.thread-content {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
pointer-events: auto;
|
overflow-y: scroll;
|
||||||
user-select: text;
|
scrollbar-gutter: stable;
|
||||||
width: $s-284;
|
width: $s-284;
|
||||||
padding: $s-12;
|
padding: $s-12;
|
||||||
|
padding-inline-end: 0;
|
||||||
|
|
||||||
|
pointer-events: auto;
|
||||||
|
user-select: text;
|
||||||
border-radius: $br-8;
|
border-radius: $br-8;
|
||||||
border: $s-2 solid var(--modal-border-color);
|
border: $s-2 solid var(--modal-border-color);
|
||||||
background-color: var(--comment-modal-background-color);
|
background-color: var(--comment-modal-background-color);
|
||||||
|
|
Loading…
Add table
Reference in a new issue