Skip to content

Commit b497297

Browse files
reakaleekclaude
authored andcommitted
Codex: fix group layout DOM order after #3344 (#3353)
_GroupLayout.cshtml was the one sidebar-grid layout missed by PR #3344. With _PagesNav now carrying md:order-1, the missing md:order-2 on <main> broke the visual layout of Codex group landing pages. Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 97f37d1 commit b497297

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Elastic.Codex/_GroupLayout.cshtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
md:px-4
1414
">
1515
<div class="min-h-screen grid grid-cols-1 md:grid-cols-[var(--max-sidebar-width)_1fr] gap-4">
16-
@await RenderPartialAsync(_PagesNav.Create(Model))
17-
<main id="content-container" class="min-w-0 lg:grid lg:grid-cols-[minmax(0,var(--max-text-width))_minmax(0,var(--max-sidebar-width))] justify-center mx-4 gap-4">
16+
<main id="content-container" class="min-w-0 lg:grid lg:grid-cols-[minmax(0,var(--max-text-width))_minmax(0,var(--max-sidebar-width))] justify-center mx-4 gap-4 md:order-2">
1817
<div class="min-w-0">
1918
@await RenderBodyAsync()
2019
</div>
2120
</main>
21+
@await RenderPartialAsync(_PagesNav.Create(Model))
2222
</div>
2323
</div>
2424
</div>

0 commit comments

Comments
 (0)