Skip to content

Commit

Permalink
Merge pull request #1425 from Anmol-Baranwal/hack_improve_sidebar
Browse files Browse the repository at this point in the history
fix: improve sidenavbar body with opacity
  • Loading branch information
CBID2 authored Aug 9, 2023
2 parents c2af4cb + 3f11e0b commit e283b2d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions components/SideNavbar/SideNavbarBody.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,13 @@ export const SideNavbarBody: FC = () => {
const { setSearch, searchResults, debouncedSearch } = useSidebarSearch()

return (
<div className="bg-[rgba(255,255,255,0.3)] w-full overflow-x-hidden whitespace-nowrap transition-all ease-in dark:bg-dark dark:text-text-primary">
<div className="bg-light-primary p-4 pt-0 transition-all ease-in dark:bg-dark">
<div
className={classNames(
`bg-[rgba(243,244,246,1)] h-full w-full overflow-x-hidden whitespace-nowrap transition-all ease-in dark:bg-dark dark:text-text-primary`,
theme === 'light' ? 'scrollColorLight' : 'scrollColorDark'
)}
>
<div className="bg-primary-light transiton-all w-full p-4 transition-none ease-in dark:bg-dark">
<Searchbar setSearch={setSearch} />
</div>

Expand Down

1 comment on commit e283b2d

@vercel
Copy link

@vercel vercel bot commented on e283b2d Aug 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.