fix: sidebar close button placement when using PWA (#3045)

pull/3059/head
Brandon Cohen 2 years ago committed by GitHub
parent cf96db90ad
commit 21d20fdfd6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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 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 <button
className="flex h-12 w-12 items-center justify-center rounded-full focus:bg-gray-600 focus:outline-none" className="flex h-12 w-12 items-center justify-center rounded-full focus:bg-gray-600 focus:outline-none"
aria-label="Close sidebar" aria-label="Close sidebar"

Loading…
Cancel
Save