mirror of
https://github.com/penpot/penpot.git
synced 2025-02-12 18:18:24 -05: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).
|
||||
|
||||
### :bug: Bugs fixed
|
||||
|
||||
- Fix problem with overflow dropdown on stroke-cap [#1216](https://github.com/penpot/penpot/issues/1216)
|
||||
|
||||
### :arrow_up: Deps updates
|
||||
### :boom: Breaking changes
|
||||
### :heart: Community contributions by (Thank you!)
|
||||
|
|
|
@ -874,7 +874,6 @@
|
|||
position: relative;
|
||||
top: 2px;
|
||||
width: 100%;
|
||||
z-index: 20;
|
||||
}
|
||||
|
||||
.btn-options {
|
||||
|
@ -1539,7 +1538,8 @@
|
|||
right: 5px;
|
||||
top: 30px;
|
||||
z-index: 12;
|
||||
min-width: 200px;
|
||||
width: 200px;
|
||||
height: 320px;
|
||||
position: fixed;
|
||||
|
||||
& li.separator {
|
||||
|
|
|
@ -141,7 +141,10 @@
|
|||
target (dom/get-current-target event)
|
||||
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 rect)
|
||||
(- (:width window-size) 205))]
|
||||
|
|
Loading…
Add table
Reference in a new issue