mirror of
https://codeberg.org/uzu/strudel
synced 2026-10-12 02:59:37 -04:00
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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user