Skip to content

Commit 5d1c62a

Browse files
committed
workspace modified
1 parent b150027 commit 5d1c62a

File tree

3 files changed

+18
-10
lines changed

3 files changed

+18
-10
lines changed

src/workspace/HeaderButton/index.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ const StyledButton = styled(
3838
const ButtonInnerContent = styled("div")(() => ({
3939
display: "flex",
4040
flexDirection: "column",
41+
gap: 2
4142
}));
4243
const IconContainer = styled("div")(
4344
({ textHidden }: { textHidden: boolean }) => ({

src/workspace/IconSidebar/index.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ const Container = styled("div")(() => ({
1414
flexDirection: "column",
1515
backgroundColor: "#fff",
1616
flexShrink: 0,
17+
marginTop: "5px",
1718
}));
1819

1920
interface IconSidebarProps {

src/workspace/WorkContainer/index.tsx

+16-10
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,24 @@ const Container = styled("div")(() => ({
1010
height: "100%",
1111
backgroundColor: grey[50],
1212
overflowY: "auto",
13-
}));
14-
const ShadowOverlay = styled("div")(() => ({
15-
content: "' '",
16-
position: "absolute",
17-
left: 0,
18-
right: 0,
19-
top: 0,
20-
bottom: 0,
21-
pointerEvents: "none",
13+
// borderBottomRightRadius: "10px",
14+
// borderBottomLeftRadius: "10px",
15+
borderRadius: "10px",
16+
marginTop: "5px",
2217
boxShadow:
2318
"inset 0 3px 5px rgba(0,0,0,0.15), inset -3px 0 5px rgba(0,0,0,0.15), inset 3px 0 5px rgba(0,0,0,0.15)",
2419
}));
20+
// const ShadowOverlay = styled("div")(() => ({
21+
// content: "' '",
22+
// position: "absolute",
23+
// left: 0,
24+
// right: 0,
25+
// top: 0,
26+
// bottom: 0,
27+
// pointerEvents: "none",
28+
// boxShadow:
29+
// "inset 0 3px 5px rgba(0,0,0,0.15), inset -3px 0 5px rgba(0,0,0,0.15), inset 3px 0 5px rgba(0,0,0,0.15)",
30+
// }));
2531

2632
export const WorkContainer = forwardRef<
2733
HTMLDivElement,
@@ -31,7 +37,7 @@ export const WorkContainer = forwardRef<
3137
<ThemeProvider theme={theme}>
3238
<Container ref={ref}>
3339
{children}
34-
<ShadowOverlay />
40+
{/* <ShadowOverlay /> */}
3541
</Container>
3642
</ThemeProvider>
3743
);

0 commit comments

Comments
 (0)