0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-22 22:49:01 -05:00

🐛 Fix icon for cell coordinates

This commit is contained in:
alonso.torres 2023-12-04 15:21:39 +01:00 committed by Andrey Antukh
parent d3b71889ae
commit c13ec3a1e0
2 changed files with 4 additions and 3 deletions

View file

@ -216,19 +216,21 @@
(when (and (not multiple?) (= :auto cell-mode))
[:div {:class (stl/css :row)}
[:div {:class (stl/css :grid-coord-group)}
[:span {:class (stl/css :icon)} i/layout-rows]
[:span {:class (stl/css :icon)} i/flex-vertical-refactor]
[:div {:class (stl/css :coord-input)}
[:> numeric-input*
{:placeholder "--"
:title "Column"
:on-click #(dom/select-target %)
:on-change (partial on-grid-coordinates :all :column)
:value column}]]]
[:div {:class (stl/css :grid-coord-group)}
[:span {:class (stl/css :icon)} i/layout-columns]
[:span {:class (stl/css :icon)} i/flex-horizontal-refactor]
[:div {:class (stl/css :coord-input)}
[:> numeric-input*
{:placeholder "--"
:title "Row"
:on-click #(dom/select-target %)
:on-change (partial on-grid-coordinates :all :row)
:value row}]]]])

View file

@ -49,7 +49,6 @@
.icon svg {
@extend .button-icon;
stroke: var(--icon-foreground);
fill: var(--icon-foreground);
}
.coord-input {
@extend .input-element;