Skip to content

Commit ad998b1

Browse files
Aesthetic changes: Sidebar (#357)
* Aesthetic changes: Sidebar * fix dark mode
1 parent b32e02f commit ad998b1

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

src/common/ExperimentInfoHeader.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ const ExperimentInfoHeader = ({ expid }) => {
8484
</div>
8585
)}
8686

87-
<hr />
87+
<hr className="dark:border-neutral-700" />
8888
</div>
8989
</>
9090
);

src/layout/ExperimentWrapper.jsx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,7 @@ const ExperimentWrapper = ({ children }) => {
102102
{
103103
width >= 1024 ?
104104
<div className="flex gap-6 grow">
105-
<div className={cn("flex flex-col gap-2 bg-light border p-5 rounded-2xl",
106-
"dark:bg-neutral-700 dark:border-neutral-700")}
105+
<div className={cn("flex flex-col gap-2 border-e p-5",)}
107106
style={{ maxHeight: "80vh" }}>
108107
<ExperimentMenuItems showLabels={showLabels} />
109108
<div className={cn("mt-auto flex items-center cursor-pointer p-2 rounded transition-colors hover:bg-black/5",
@@ -132,9 +131,7 @@ const ExperimentWrapper = ({ children }) => {
132131
</div>
133132
{
134133
showTopMenu &&
135-
<div className={cn("flex flex-col gap-1 bg-light border border-t-0 py-4 px-6 rounded-b-2xl",
136-
"dark:bg-neutral-700 dark:border-neutral-700"
137-
)}
134+
<div className={cn("flex flex-col gap-1 border border-t-0 py-4 px-6 rounded-b-2xl")}
138135
onClick={handleToggleTopMenu}>
139136
<ExperimentMenuItems />
140137
</div>

0 commit comments

Comments
 (0)