Skip to content

Commit

Permalink
fix sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
5rahim committed Dec 14, 2024
1 parent 6d6a3ab commit 89ee192
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -231,15 +231,15 @@ export function MainSidebar() {
handleUnexpandedSidebar={() => {}}
/>

{process.env.NEXT_PUBLIC_PLATFORM === "desktop" && <div className="block w-fit px-4">
{process.env.NEXT_PUBLIC_PLATFORM === "desktop" && <div className="w-full flex justify-center px-4">
<HoverCard
side="right"
sideOffset={-8}
// className="w-fit rounded-full flex gap-2 bg-gray-950 bg-opacity-50 p-2"
className="bg-transparent border-none"
trigger={<IconButton
intent="gray-basic"
className="px-6 opacity-50 hover:opacity-100"
className="!text-[--muted] hover:!text-[--foreground]"
icon={<PiArrowCircleLeftDuotone />}
onClick={() => {
router.back()
Expand All @@ -249,7 +249,7 @@ export function MainSidebar() {
<IconButton
icon={<PiArrowCircleRightDuotone />}
intent="gray-subtle"
className="px-6 opacity-50 hover:opacity-100"
className="opacity-50 hover:opacity-100"
onClick={() => {
router.forward()
}}
Expand Down

0 comments on commit 89ee192

Please sign in to comment.