fix: keep the home menu at its normal width — only the shell line + lang-switch should stretch

This commit is contained in:
kgva CMS
2026-08-10 22:26:10 +00:00
parent f8a5b0900b
commit 62ec86dab7
+4 -1
View File
@@ -84,7 +84,10 @@
/* always-open file menu (the shell's "ls") — only shown on the home page;
on subpages it stays in the DOM (hidden) so typed commands still resolve */
.menu { margin: var(--spacing-sm) 0 0; }
/* stays the file list's normal width even when .topbar is widened (below) to
line up the shell/lang-switch with a wider info panel elsewhere — the home
menu was never meant to stretch, only the prompt row + toggle were */
.menu { margin: var(--spacing-sm) 0 0; max-width: var(--container-width); }
body:not(.home) .menu { display: none; }
/* easter-egg output line — takes no space until it actually has output */