fix: cycle and module sidebar fix (#828)

This commit is contained in:
Anmol Singh Bhatia 2023-04-14 16:44:06 +05:30 committed by GitHub
parent ce253b3cc9
commit 5848c326c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -350,7 +350,7 @@ export const CycleDetailsSidebar: React.FC<Props> = ({
</div> </div>
<div className="flex w-full flex-col items-center justify-start gap-2 border-t border-gray-300 px-6 py-6 "> <div className="flex w-full flex-col items-center justify-start gap-2 border-t border-gray-300 px-6 py-6 ">
<Disclosure> <Disclosure defaultOpen>
{({ open }) => ( {({ open }) => (
<div <div
className={`relative flex h-full w-full flex-col ${open ? "" : "flex-row"}`} className={`relative flex h-full w-full flex-col ${open ? "" : "flex-row"}`}
@ -430,7 +430,7 @@ export const CycleDetailsSidebar: React.FC<Props> = ({
</div> </div>
<div className="flex w-full flex-col items-center justify-start gap-2 border-t border-gray-300 px-6 py-6 "> <div className="flex w-full flex-col items-center justify-start gap-2 border-t border-gray-300 px-6 py-6 ">
<Disclosure> <Disclosure defaultOpen>
{({ open }) => ( {({ open }) => (
<div <div
className={`relative flex h-full w-full flex-col ${open ? "" : "flex-row"}`} className={`relative flex h-full w-full flex-col ${open ? "" : "flex-row"}`}

View File

@ -393,7 +393,7 @@ export const ModuleDetailsSidebar: React.FC<Props> = ({ issues, module, isOpen,
</div> </div>
<div className="flex w-full flex-col items-center justify-start gap-2 border-t border-gray-300 px-6 py-6 "> <div className="flex w-full flex-col items-center justify-start gap-2 border-t border-gray-300 px-6 py-6 ">
<Disclosure> <Disclosure defaultOpen>
{({ open }) => ( {({ open }) => (
<div <div
className={`relative flex h-full w-full flex-col ${open ? "" : "flex-row"}`} className={`relative flex h-full w-full flex-col ${open ? "" : "flex-row"}`}
@ -472,7 +472,7 @@ export const ModuleDetailsSidebar: React.FC<Props> = ({ issues, module, isOpen,
</div> </div>
<div className="flex w-full flex-col items-center justify-start gap-2 border-t border-gray-300 px-6 py-6 "> <div className="flex w-full flex-col items-center justify-start gap-2 border-t border-gray-300 px-6 py-6 ">
<Disclosure> <Disclosure defaultOpen>
{({ open }) => ( {({ open }) => (
<div <div
className={`relative flex h-full w-full flex-col ${open ? "" : "flex-row"}`} className={`relative flex h-full w-full flex-col ${open ? "" : "flex-row"}`}