fix: widen centered homepage container

Keep the homepage frontpage wrapper centered while ensuring it uses at least 80% of the available content area, without changing normal body page layout.
This commit is contained in:
cydia2001
2026-03-11 01:57:47 +00:00
parent 695164a266
commit b23ea90d90
2 changed files with 2 additions and 3 deletions

View File

@@ -25,8 +25,7 @@ FRONTPAGE_SWITCH_PLACEHOLDER = "<!-- OPENMLSYS_LANGUAGE_SWITCH -->"
FRONTPAGE_LAYOUT_CSS = """
<style>
.openmlsys-frontpage {
width: 100%;
max-width: var(--content-max-width);
width: min(100%, max(80%, var(--content-max-width)));
margin: 0 auto 3rem;
margin-inline: auto;
}