keep space reserved for the sidebars above 1280px (fixes #2110)

At xl the wrapper dropped its left padding and relied on centering to clear the
fixed sidebars, which only works from about 1338px up. Reserving the right
gutter instead leaves md:pl-[300px] in force, so the column narrows between
1280px and 1338px rather than sliding under the nav.
This commit is contained in:
Bernhard Wagner
2026-08-20 11:08:23 +02:00
parent 8f81463b9c
commit a3a38cfe33
+1 -1
View File
@@ -36,7 +36,7 @@ const githubEditUrl = `${CONFIG.GITHUB_EDIT_URL}/${currentFile}`;
<Header currentPage={currentPage} />
</header>
<main class="relative pt-16">
<div class="h-full top-0 overflow-auto min-w-[300px] flex xl:justify-center pr-4 pl-4 md:pl-[300px] xl:pl-0">
<div class="h-full top-0 overflow-auto min-w-[300px] flex xl:justify-center pr-4 pl-4 md:pl-[300px] xl:pr-[300px]">
<aside title="Site Navigation" class="w-[300px] px-6 left-0 hidden md:block fixed h-full">
<LeftSidebar currentPage={currentPage} />
</aside>