Merge pull request #2103 from 0x346e3730/feat/full-width-main-if-no-sidebar

feat(templates): make main full-width if sidebar is empty
This commit is contained in:
Amruth Pillai
2025-01-12 15:31:42 +01:00
committed by GitHub
7 changed files with 10 additions and 10 deletions

View File

@ -587,7 +587,7 @@ export const Gengar = ({ columns, isFirstPage = false }: TemplateProps) => {
</div>
</div>
<div className="main group col-span-2">
<div className={cn("main group", sidebar.length !== 0 ? "col-span-2" : "col-span-3")}>
{isFirstPage && (
<div
className="p-custom space-y-4"