mirror of
https://github.com/penpot/penpot.git
synced 2025-06-16 08:41:39 +02:00
🐛 Fix icon for cell coordinates
This commit is contained in:
parent
d3b71889ae
commit
c13ec3a1e0
2 changed files with 4 additions and 3 deletions
|
@ -216,19 +216,21 @@
|
||||||
(when (and (not multiple?) (= :auto cell-mode))
|
(when (and (not multiple?) (= :auto cell-mode))
|
||||||
[:div {:class (stl/css :row)}
|
[:div {:class (stl/css :row)}
|
||||||
[:div {:class (stl/css :grid-coord-group)}
|
[: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)}
|
[:div {:class (stl/css :coord-input)}
|
||||||
[:> numeric-input*
|
[:> numeric-input*
|
||||||
{:placeholder "--"
|
{:placeholder "--"
|
||||||
|
:title "Column"
|
||||||
:on-click #(dom/select-target %)
|
:on-click #(dom/select-target %)
|
||||||
:on-change (partial on-grid-coordinates :all :column)
|
:on-change (partial on-grid-coordinates :all :column)
|
||||||
:value column}]]]
|
:value column}]]]
|
||||||
|
|
||||||
[:div {:class (stl/css :grid-coord-group)}
|
[: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)}
|
[:div {:class (stl/css :coord-input)}
|
||||||
[:> numeric-input*
|
[:> numeric-input*
|
||||||
{:placeholder "--"
|
{:placeholder "--"
|
||||||
|
:title "Row"
|
||||||
:on-click #(dom/select-target %)
|
:on-click #(dom/select-target %)
|
||||||
:on-change (partial on-grid-coordinates :all :row)
|
:on-change (partial on-grid-coordinates :all :row)
|
||||||
:value row}]]]])
|
:value row}]]]])
|
||||||
|
|
|
@ -49,7 +49,6 @@
|
||||||
.icon svg {
|
.icon svg {
|
||||||
@extend .button-icon;
|
@extend .button-icon;
|
||||||
stroke: var(--icon-foreground);
|
stroke: var(--icon-foreground);
|
||||||
fill: var(--icon-foreground);
|
|
||||||
}
|
}
|
||||||
.coord-input {
|
.coord-input {
|
||||||
@extend .input-element;
|
@extend .input-element;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue