Skip to content

Commit

Permalink
chore: add border at sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
ToxicToast committed Jun 18, 2024
1 parent 76235de commit 2909f50
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ export function Sidebar(props: Props) {
return (
<div>
<div
className={`fixed inset-0 bg-slate-900 bg-opacity-30 z-40 lg:hidden lg:z-auto transition-opacity duration-200 ${
className={`fixed inset-0 dark:bg-slate-900 dark:bg-opacity-30 bg-slate-300 bg-opacity-60 z-40 lg:hidden lg:z-auto transition-opacity duration-200 ${
sidebarOpen
? 'opacity-100'
: 'opacity-0 pointer-events-none'
}`}
/>
<div
id="sidebar"
className={`flex flex-col absolute z-40 left-0 top-0 lg:static lg:left-auto lg:top-auto lg:translate-x-0 h-screen overflow-y-scroll lg:overflow-y-auto no-scrollbar w-64 lg:w-20 lg:sidebar-expanded:!w-64 2xl:!w-64 shrink-0 bg-slate-800 p-4 transition-all duration-200 ease-in-out ${
className={`border-r border-slate-200 dark:border-slate-700 flex flex-col absolute z-40 left-0 top-0 lg:static lg:left-auto lg:top-auto lg:translate-x-0 h-screen overflow-y-scroll lg:overflow-y-auto no-scrollbar w-64 lg:w-20 lg:sidebar-expanded:!w-64 2xl:!w-64 shrink-0 dark:bg-slate-800 bg-white p-4 transition-all duration-200 ease-in-out ${
sidebarOpen ? 'translate-x-0' : '-translate-x-64'
}`}
>
Expand Down

0 comments on commit 2909f50

Please sign in to comment.