0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-04-04 11:01:20 -05:00

🐛 Fix bubbles getting displaced when thread does not fit in viewport

This commit is contained in:
luisddm 2025-01-13 12:50:19 +01:00
parent 3518f8160c
commit 1662fe5b01
2 changed files with 2 additions and 6 deletions

View file

@ -962,7 +962,7 @@
(some? position-modifier)
(gpt/transform position-modifier))
max-height (when (some? viewport) (int (* (:height viewport) 0.75)))
max-height (when (some? viewport) (int (* (:height viewport) 0.5)))
;; We should probably look for a better way of doing this.
bubble-margin {:x 24 :y 24}

View file

@ -19,9 +19,5 @@
}
.threads {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
position: fixed;
}