mirror of
https://github.com/penpot/penpot.git
synced 2025-05-10 08:46:38 +02:00
🐛 fix color palette overflow
This commit is contained in:
parent
ae2a99acb0
commit
40b005f46e
2 changed files with 2 additions and 1 deletions
|
@ -358,7 +358,7 @@
|
|||
"Calculates the style properties for the given coordinates and position"
|
||||
[{vh :height} position x y]
|
||||
(let [;; picker height in pixels
|
||||
h 360
|
||||
h 430
|
||||
;; Checks for overflow outside the viewport height
|
||||
overflow-fix (max 0 (+ y (- 50) h (- vh)))]
|
||||
(cond
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue