Skip to content

Commit 5a0afbc

Browse files
committed
Add small top border to some Bottom Tabs so they stand out against the canvas color. Also, change canvas scrollbar colors and width
1 parent cf5da2f commit 5a0afbc

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

app/src/components/bottom/BottomTabs.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,24 +80,28 @@ const BottomTabs = (props): JSX.Element => {
8080
classes={{ root: classes.tabRoot, selected: classes.tabSelected }}
8181
label="Creation Panel"
8282
onClick={showBottomPanel}
83+
sx={{ borderTop: '2px solid #191919' }}
8384
/>
8485
<Tab
8586
disableRipple
8687
classes={{ root: classes.tabRoot, selected: classes.tabSelected }}
8788
label="Customization"
8889
onClick={showBottomPanel}
90+
sx={{ borderTop: '2px solid #191919' }}
8991
/>
9092
<Tab
9193
disableRipple
9294
classes={{ root: classes.tabRoot, selected: classes.tabSelected }}
9395
label="CSS Editor"
9496
onClick={showBottomPanel}
97+
sx={{ borderTop: '2px solid #191919' }}
9598
/>
9699
<Tab
97100
disableRipple
98101
classes={{ root: classes.tabRoot, selected: classes.tabSelected }}
99102
label="Component Tree"
100103
onClick={showBottomPanel}
104+
sx={{ borderTop: '2px solid #191919' }}
101105
/>
102106
<Tab
103107
disableRipple

app/src/public/styles/style.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -663,6 +663,19 @@ NAVBAR
663663
width: 16%;
664664
}
665665

666+
#canvasContainer::-webkit-scrollbar {
667+
width: 0.5rem;
668+
height: 0.7rem;
669+
}
670+
671+
#canvasContainer::-webkit-scrollbar-thumb {
672+
transition: 0.3s ease all;
673+
border-color: transparent;
674+
background-color: gray;
675+
border-radius: 8px;
676+
z-index: 40;
677+
}
678+
666679
/*
667680
/////////////////////////////////////////////////
668681
CANVAS WINDOW

0 commit comments

Comments
 (0)