Skip to content

Commit 9751ef8

Browse files
committed
fix button sizes
1 parent e4164d7 commit 9751ef8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/renderer/attribute/length.cljs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
(if (pos? (.-deltaY e))
4040
(rf/dispatch [:element/update-attr k - 1])
4141
(rf/dispatch [:element/update-attr k + 1])))}]
42-
[:div.flex {:style {:width "55px"}}
42+
[:div.flex
4343
[:button.button.ml-px.bg-primary.text-muted.h-full
4444
{:style {:width "26px"}
4545
:on-pointer-down #(rf/dispatch [:element/update-attr k - 1])}

src/renderer/color/styles.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212

1313
.color-drip {
1414
box-sizing: content-box;
15-
width: 17px;
16-
max-width: 17px;
17-
height: 17px;
15+
width: 16px;
16+
max-width: 16px;
17+
height: 16px;
1818
flex: 1;
1919
}
2020

0 commit comments

Comments
 (0)