Skip to content

Commit 5285a73

Browse files
committed
changed border color for HTMLItems to dark gray
1 parent 7d5b97e commit 5285a73

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

app/src/components/left/HTMLItem.tsx

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ const useStyles = makeStyles({
2424
flexDirection: 'row',
2525
justifyContent: 'space-evenly',
2626
textAlign: 'center',
27-
cursor: 'grab',
27+
cursor: 'grab'
2828
},
2929
lightThemeFontColor: {
30-
color: '#defaf8',
30+
color: '#defaf8'
3131
},
3232
darkThemeFontColor: {
33-
color: '#8F8F8F',
34-
},
33+
color: '#8F8F8F'
34+
}
3535
});
3636

3737
/**
@@ -66,11 +66,11 @@ const HTMLItem: React.FC<{
6666
instanceType: 'HTML Element',
6767
name,
6868
icon,
69-
instanceTypeId: id,
69+
instanceTypeId: id
7070
},
7171
collect: (monitor: any) => ({
72-
isDragging: !!monitor.isDragging(),
73-
}),
72+
isDragging: !!monitor.isDragging()
73+
})
7474
});
7575

7676
const closeModal = () => setModal(null);
@@ -84,7 +84,7 @@ const HTMLItem: React.FC<{
8484
style={{
8585
border: '1px solid #C6C6C6',
8686
marginBottom: '2%',
87-
marginTop: '5%',
87+
marginTop: '5%'
8888
}}
8989
>
9090
<ListItemText
@@ -100,12 +100,12 @@ const HTMLItem: React.FC<{
100100
style={{
101101
border: '1px solid #C6C6C6',
102102
marginBottom: '2%',
103-
marginTop: '5%',
103+
marginTop: '5%'
104104
}}
105105
>
106106
<ListItemText
107107
primary={'No, do not delete element'}
108-
style={{ textAlign: 'center', color: 'white' }}
108+
style={{ textAlign: 'center', color: 'white' }}
109109
onClick={closeModal}
110110
/>
111111
</ListItem>
@@ -121,8 +121,8 @@ const HTMLItem: React.FC<{
121121
primBtnAction: null,
122122
secBtnAction: null,
123123
secBtnLabel: null,
124-
open: true,
125-
}),
124+
open: true
125+
})
126126
);
127127
};
128128

@@ -134,8 +134,8 @@ const HTMLItem: React.FC<{
134134
typeId: id,
135135
childId: null,
136136
contextParam: {
137-
allContext: [],
138-
},
137+
allContext: []
138+
}
139139
};
140140

141141
dispatch(addChild(childData));
@@ -154,8 +154,8 @@ const HTMLItem: React.FC<{
154154
ref={drag}
155155
style={{
156156
backgroundColor: 'rgb(30, 32, 36)',
157-
borderColor: 'rgb(100, 100, 115)',
158-
width: '100%',
157+
borderColor: 'rgb(30, 32, 36)',
158+
width: '100%'
159159
}}
160160
className={`${classes.HTMLPanelItem} ${classes.darkThemeFontColor}`}
161161
id="HTMLItem"

0 commit comments

Comments
 (0)