Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/dapp/components/layout/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function Sidebar({
return (
<div
className={`bg-background z-50 absolute top-0 left-0 font-light h-full transition-transform duration-300
w-full sm:w-[280px] lg:relative lg:translate-x-0 lg:w-fit
w-full sm:w-[280px] lg:relative lg:translate-x-0 lg:w-fit border-0 md:border-1 border-primary-border
${isOpen ? "translate-x-0" : "-translate-x-full"}`}
>
<div className="p-[24px] lg:p-[42px_30px_45px_40px] flex flex-col gap-y-[6px] items-stretch">
Expand Down
6 changes: 4 additions & 2 deletions app/dapp/dashboard/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,9 @@ export default function DashboardPage() {
</div>
)}

<div className="hidden md:flex relative bg-[#F4F4F4] dark:bg-[#181818] rounded-[8px] px-2 h-[37px]">
<div
className={`hidden relative bg-[#F4F4F4] dark:bg-[#181818] rounded-[8px] px-2 h-[37px]`}
>
<SearchIcon
color={isDark ? "#696969" : "#B9B9B9"}
size="18"
Expand All @@ -105,7 +107,7 @@ export default function DashboardPage() {
/>
</div>
{/* This one is for mobiles which slides from the top when the search icon is clicked */}
<button onClick={() => setShowSearch(true)} className="md:hidden p-2">
<button onClick={() => setShowSearch(true)} className={`hidden p-2`}>
<SearchIcon color={isDark ? "#696969" : "#B9B9B9"} size="18" />
</button>

Expand Down