Skip to content

Commit 76ea343

Browse files
committed
better corners
1 parent 90387d9 commit 76ea343

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

apps/frontend/ui/src/layout/partials/Sidebar/func.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { Logo } from "@lib-theme";
1414
import useSidebarClasses from "@app-ui/layout/partials/Sidebar/styles";
1515

1616
type TProps = {
17-
defaultTab: "overview" | "browse" | "contribute";
17+
defaultTab: "overview" | "browse";
1818
isExpanded: boolean;
1919
toggleExpandAction: () => void;
2020
overviewTabAction: () => void;
@@ -83,7 +83,7 @@ export default function Sidebar({
8383
<Button
8484
className={classes.buttonOverride}
8585
icon={isExpanded ? <ChevronLeftFilled /> : <ChevronRightFilled />}
86-
appearance="subtle"
86+
appearance="secondary"
8787
size="small"
8888
onClick={toggleExpandAction}
8989
/>

apps/frontend/ui/src/layout/partials/Sidebar/styles.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@ const useSidebarClasses = makeStyles({
55
backgroundColor: tokens.colorNeutralBackground1,
66
borderRadius: tokens.borderRadiusLarge,
77
},
8-
buttonOverride: {},
8+
buttonOverride: {
9+
borderTopRightRadius: 0,
10+
borderBottomLeftRadius: 0,
11+
// border: "none",
12+
},
913
});
1014

1115
export default useSidebarClasses;

0 commit comments

Comments
 (0)