mirror of
https://github.com/penpot/penpot.git
synced 2025-05-29 12:26:10 +02:00
🐛 Fix problem with overflow dropdown on stroke-cap
This commit is contained in:
parent
0159eea526
commit
1a61c855ca
3 changed files with 9 additions and 3 deletions
|
@ -9,6 +9,9 @@
|
||||||
- Add advanced prototyping [#244](https://tree.taiga.io/project/penpot/us/244).
|
- Add advanced prototyping [#244](https://tree.taiga.io/project/penpot/us/244).
|
||||||
|
|
||||||
### :bug: Bugs fixed
|
### :bug: Bugs fixed
|
||||||
|
|
||||||
|
- Fix problem with overflow dropdown on stroke-cap [#1216](https://github.com/penpot/penpot/issues/1216)
|
||||||
|
|
||||||
### :arrow_up: Deps updates
|
### :arrow_up: Deps updates
|
||||||
### :boom: Breaking changes
|
### :boom: Breaking changes
|
||||||
### :heart: Community contributions by (Thank you!)
|
### :heart: Community contributions by (Thank you!)
|
||||||
|
|
|
@ -874,7 +874,6 @@
|
||||||
position: relative;
|
position: relative;
|
||||||
top: 2px;
|
top: 2px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
z-index: 20;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-options {
|
.btn-options {
|
||||||
|
@ -1539,7 +1538,8 @@
|
||||||
right: 5px;
|
right: 5px;
|
||||||
top: 30px;
|
top: 30px;
|
||||||
z-index: 12;
|
z-index: 12;
|
||||||
min-width: 200px;
|
width: 200px;
|
||||||
|
height: 320px;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
|
||||||
& li.separator {
|
& li.separator {
|
||||||
|
|
|
@ -141,7 +141,10 @@
|
||||||
target (dom/get-current-target event)
|
target (dom/get-current-target event)
|
||||||
rect (dom/get-bounding-rect target)
|
rect (dom/get-bounding-rect target)
|
||||||
|
|
||||||
top (+ (:bottom rect) 5)
|
top (if (< (+ (:bottom rect) 320) (:height window-size))
|
||||||
|
(+ (:bottom rect) 5)
|
||||||
|
(- (:height window-size) 325))
|
||||||
|
|
||||||
left (if (< (+ (:left rect) 200) (:width window-size))
|
left (if (< (+ (:left rect) 200) (:width window-size))
|
||||||
(:left rect)
|
(:left rect)
|
||||||
(- (:width window-size) 205))]
|
(- (:width window-size) 205))]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue