Skip to content

Commit

Permalink
fix: sidebar close button placement when using PWA (#3045)
Browse files Browse the repository at this point in the history
  • Loading branch information
OwsleyJr committed Sep 23, 2022
1 parent cf96db9 commit 21d20fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Layout/Sidebar/index.tsx
Expand Up @@ -120,7 +120,7 @@ const Sidebar = ({ open, setClosed }: SidebarProps) => {
>
<>
<div className="sidebar relative flex h-full w-full max-w-xs flex-1 flex-col bg-gray-800">
<div className="sidebar-close-button absolute top-0 right-0 -mr-14 p-1">
<div className="sidebar-close-button absolute right-0 -mr-14 p-1">
<button
className="flex h-12 w-12 items-center justify-center rounded-full focus:bg-gray-600 focus:outline-none"
aria-label="Close sidebar"
Expand Down

0 comments on commit 21d20fd

Please sign in to comment.