Skip to content

Commit 2ee6bde

Browse files
committed
fix(admin):fix long CA name breaking side menu layout
1 parent 60114df commit 2ee6bde

File tree

1 file changed

+6
-4
lines changed
  • packages/reva-admin-react/src/app/(certificateur)/candidacies

1 file changed

+6
-4
lines changed

packages/reva-admin-react/src/app/(certificateur)/candidacies/layout.tsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -276,12 +276,14 @@ const CandidaciesLayout = ({ children }: { children: ReactNode }) => {
276276
<nav
277277
role="navigation"
278278
aria-label="Menu latéral"
279-
className="flex flex-col gap-4"
279+
className="flex flex-col gap-4 md:basis-[400px]"
280280
>
281281
{isAdmin && certificationAuthorityId && (
282-
<CertificationAuthority
283-
certificationAuthorityId={certificationAuthorityId}
284-
/>
282+
<div className="mr-8">
283+
<CertificationAuthority
284+
certificationAuthorityId={certificationAuthorityId}
285+
/>
286+
</div>
285287
)}
286288
<SideMenu
287289
className="flex-shrink-0 flex-grow-0 md:basis-[400px]"

0 commit comments

Comments
 (0)