Skip to content

Commit 0ce0a90

Browse files
authored
Merge pull request #41 from oslabs-beta/dev
Update dev
2 parents ff46f20 + f831c58 commit 0ce0a90

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

app/src/components/main/DirectChildHTML.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ function DirectChildHTML({ childId, name, type, typeId, style }: ChildElement) {
5959
const interactiveStyle = {
6060
border:
6161
state.canvasFocus.childId === childId
62-
? '4px solid #0671e3'
63-
: '1px solid grey'
62+
? '2px solid #0671e3'
63+
: '1px solid #31343A'
6464
};
6565

6666
const combinedStyle = combineStyles(
@@ -71,7 +71,7 @@ function DirectChildHTML({ childId, name, type, typeId, style }: ChildElement) {
7171
return (
7272
<div
7373
onClick={onClickHandler}
74-
style={{...combinedStyle, backgroundColor: '#1E2024', border: '1px solid #31343A'}}
74+
style={{...combinedStyle, backgroundColor: '#1E2024'}}
7575
ref={drag}
7676
id={`canv${childId}`}
7777
>

app/src/components/main/DirectChildHTMLNestable.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,8 @@ function DirectChildHTMLNestable({
177177
const interactiveStyle = {
178178
border:
179179
state.canvasFocus.childId === childId
180-
? '3px solid #0671e3'
181-
: '1px solid grey'
180+
? '2px solid #0671e3'
181+
: '1px solid #31343A'
182182
};
183183

184184
// interactive style to change color when nested element is hovered over
@@ -213,7 +213,7 @@ function DirectChildHTMLNestable({
213213
return (
214214
<div
215215
onClick={onClickHandler}
216-
style={{...combinedStyle, backgroundColor: isOver ? '#3c59ba' : '#1E2024', border: '1px solid #31343A'}}
216+
style={{...combinedStyle, backgroundColor: isOver ? '#3c59ba' : '#1E2024'}}
217217
ref={ref}
218218
id={`canv${childId}`}
219219
>

0 commit comments

Comments
 (0)