Skip to content

Commit 3031067

Browse files
committed
#541 fix: Fix negative value for color picker
1 parent 2f824c8 commit 3031067

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

webapp/components/general/ControlPanelTreeItem.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const useStyles = makeStyles((theme) => ({
5454
colorPickerBox: {
5555
position: 'absolute',
5656
top: '1.6rem',
57-
right: '2.7rem',
57+
right: '0',
5858
height: '3rem',
5959
},
6060
triangleIcon: {
@@ -64,7 +64,7 @@ const useStyles = makeStyles((theme) => ({
6464
colorPicker: {
6565
position: 'absolute',
6666
zIndex: 1000,
67-
right: '-2.7rem',
67+
right: '0',
6868
backgroundColor: `${bgDarker} !important`,
6969
padding: '0.2rem',
7070
'& label': {

0 commit comments

Comments
 (0)