mirror of
https://github.com/penpot/penpot.git
synced 2025-01-09 00:10:11 -05:00
🐛 fix color palette overflow
This commit is contained in:
parent
ae2a99acb0
commit
40b005f46e
2 changed files with 2 additions and 1 deletions
|
@ -26,6 +26,7 @@
|
||||||
|
|
||||||
### :bug: Bugs fixed
|
### :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)
|
- Fixed handoff shadow type text [Taiga #2717](https://tree.taiga.io/project/penpot/issue/2717)
|
||||||
|
|
||||||
### :arrow_up: Deps updates
|
### :arrow_up: Deps updates
|
||||||
|
|
|
@ -358,7 +358,7 @@
|
||||||
"Calculates the style properties for the given coordinates and position"
|
"Calculates the style properties for the given coordinates and position"
|
||||||
[{vh :height} position x y]
|
[{vh :height} position x y]
|
||||||
(let [;; picker height in pixels
|
(let [;; picker height in pixels
|
||||||
h 360
|
h 430
|
||||||
;; Checks for overflow outside the viewport height
|
;; Checks for overflow outside the viewport height
|
||||||
overflow-fix (max 0 (+ y (- 50) h (- vh)))]
|
overflow-fix (max 0 (+ y (- 50) h (- vh)))]
|
||||||
(cond
|
(cond
|
||||||
|
|
Loading…
Reference in a new issue