🐛 Fix available resize area (#6186)
Some checks are pending
Commit Message Check / Check Commit Message (push) Waiting to run

This commit is contained in:
Eva Marco
2025-03-28 13:15:35 +01:00
committed by GitHub
parent cbb3f6672f
commit c1853a71a9
5 changed files with 18 additions and 2 deletions

View File

@@ -44,6 +44,7 @@
- Fix assets name on inspect tab [Taiga #10630](https://tree.taiga.io/project/penpot/issue/10630)
- Fix chat icon overlaps "Show" button in carrousel section [Taiga #10542](https://tree.taiga.io/project/penpot/issue/10542)
- Fix incorrect handling of background task result (now task rows are properly marked as completed)
- Fix available size of resize handler [Taiga #10639](https://tree.taiga.io/project/penpot/issue/10639)
## 2.5.4

View File

@@ -110,7 +110,9 @@
[:div {:class (stl/css :resize-area-horiz)
:on-pointer-down on-pointer-down-pages
:on-lost-pointer-capture on-lost-pointer-capture-pages
:on-pointer-move on-pointer-move-pages}])
:on-pointer-move on-pointer-move-pages}
[:div {:class (stl/css :resize-handle-horiz)}]])
[:& layers-toolbox {:size-parent size
:size size-pages}]])

View File

@@ -88,6 +88,12 @@ $width-settings-bar-max: $s-500;
position: absolute;
left: 0;
width: 100%;
padding: $s-3 0 $s-1 0;
height: $s-6;
cursor: ns-resize;
}
.resize-handle-horiz {
border-bottom: $s-2 solid var(--resize-area-border-color);
cursor: ns-resize;
}

View File

@@ -439,6 +439,7 @@
[:div {:class (stl/css :resize-area-horiz)
:on-pointer-down on-pointer-down-pages
:on-lost-pointer-capture on-lost-pointer-capture-pages
:on-pointer-move on-pointer-move-pages}]
:on-pointer-move on-pointer-move-pages}
[:div {:class (stl/css :resize-handle-horiz)}]]
[:> tokens-section* {:tokens-lib tokens-lib}]]
[:> import-export-button*]]))

View File

@@ -170,6 +170,12 @@
position: absolute;
left: 0;
width: 100%;
padding: $s-3 0 $s-1 0;
height: $s-6;
cursor: ns-resize;
}
.resize-handle-horiz {
border-bottom: $s-2 solid var(--resize-area-border-color);
cursor: ns-resize;
}