Skip to content

Commit 968b831

Browse files
committed
fix(website): set content container width to 800px on desktop
Move the 800px max-width from .markdown-body up to .content so the entire content pane (not just the inner body) is sized correctly. The container now fills up to 800px beside the sidebar.
1 parent 6c6660b commit 968b831

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

internal/website/_layouts/default.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
.sidebar li { margin:.35rem 0; }
3737
.sidebar a { color:#222; display:block; padding:.25rem .4rem; border-radius:4px; }
3838
.sidebar a:hover { background:#f2f5f8; }
39-
.content { flex:1; min-width:0; padding:2rem 2.5rem; }
40-
.content .markdown-body { max-width: 800px; }
39+
.content { flex:1; min-width:0; max-width: 800px; padding:2rem 2.5rem; }
40+
.content .markdown-body { max-width: 100%; }
4141
pre, code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; }
4242
pre { background:#f6f8fa; border:1px solid #d0d7de; padding:.9rem 1rem; border-radius:6px; overflow-x:auto; max-width:100%; }
4343
code { word-wrap: break-word; }

0 commit comments

Comments
 (0)