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

🐛 fix color palette overflow

This commit is contained in:
Eva 2022-02-08 12:08:09 +01:00 committed by Andrés Moya
parent ae2a99acb0
commit 40b005f46e
2 changed files with 2 additions and 1 deletions

View file

@ -26,6 +26,7 @@
### :bug: Bugs fixed
- Fixed color palette outside viewport [Taiga #2715](https://tree.taiga.io/project/penpot/issue/2715)
- Fixed handoff shadow type text [Taiga #2717](https://tree.taiga.io/project/penpot/issue/2717)
### :arrow_up: Deps updates

View file

@ -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