mirror of
https://github.com/penpot/penpot.git
synced 2026-03-07 02:31:17 +00:00
🐛 fix color palette overflow
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user