fix: module sidebar link section (#2830)

This commit is contained in:
Anmol Singh Bhatia 2023-11-22 14:36:29 +05:30 committed by sriram veeraghanta
parent b106e15268
commit 20f3d7ce09

View File

@ -429,10 +429,7 @@ export const ModuleDetailsSidebar: React.FC<Props> = observer((props) => {
<Disclosure> <Disclosure>
{({ open }) => ( {({ open }) => (
<div className={`relative flex h-full w-full flex-col ${open ? "" : "flex-row"}`}> <div className={`relative flex h-full w-full flex-col ${open ? "" : "flex-row"}`}>
<Disclosure.Button <Disclosure.Button className="flex w-full items-center justify-between gap-2 p-1.5">
className="flex w-full items-center justify-between gap-2 p-1.5"
disabled={!isStartValid || !isEndValid}
>
<div className="flex items-center justify-start gap-2 text-sm"> <div className="flex items-center justify-start gap-2 text-sm">
<span className="font-medium text-custom-text-200">Links</span> <span className="font-medium text-custom-text-200">Links</span>
</div> </div>