diff --git a/apps/link/app/(main)/_components/ZammadWrapper.tsx b/apps/link/app/(main)/_components/ZammadWrapper.tsx index 1696040..975eb26 100644 --- a/apps/link/app/(main)/_components/ZammadWrapper.tsx +++ b/apps/link/app/(main)/_components/ZammadWrapper.tsx @@ -115,6 +115,14 @@ export const ZammadWrapper: FC = ({ // @ts-ignore linkElement.contentDocument.querySelector("#navigation").style = "display: none"; + // @ts-ignore + if (linkElement.contentDocument.querySelector(".content")) { + // If navigation removed, set content margin to 0 to avoid gap. + // @ts-ignore + linkElement.contentDocument.querySelector(".content").style = + "margin-left: 0"; + } + // @ts-ignore linkElement.contentDocument.querySelector("body").style = "font-family: Arial";