Skip to content

Commit

Permalink
fix: left sidebar ui (#3152)
Browse files Browse the repository at this point in the history
* fix: tx badge style tweaks

* fix: rm double border on desktop
  • Loading branch information
ryanpwaldon authored Jan 25, 2024
1 parent a061b77 commit 4173ffd
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/components/sidebar/Sidebar/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

.container {
width: 230px;
border-right: 1px solid var(--color-border-light);
}

.scroll {
Expand Down Expand Up @@ -69,6 +68,7 @@
@media (max-width: 899.95px) {
.container {
padding-top: var(--header-height);
border-right: 1px solid var(--color-border-light);
}

.drawer {
Expand Down
2 changes: 1 addition & 1 deletion src/components/sidebar/SidebarList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,4 @@ export const SidebarListItemText = ({
)

export const SidebarListItemCounter = ({ count }: { count?: string }): ReactElement | null =>
count ? <Badge color="secondary" variant="standard" badgeContent={count} sx={{ ml: 2 }} /> : null
count ? <Badge color="warning" variant="standard" badgeContent={count} sx={{ ml: 3 }} /> : null
4 changes: 0 additions & 4 deletions src/components/sidebar/SidebarList/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@
background-color: var(--color-border-light);
}

[data-theme='dark'] .list :global .MuiBadge-standard {
background-color: var(--color-primary-main);
}

.list :global .MuiListItemButton-root:hover {
border-radius: 6px;
background-color: var(--color-background-light);
Expand Down

0 comments on commit 4173ffd

Please sign in to comment.