mirror of
https://github.com/openmlsys/openmlsys-zh.git
synced 2026-04-24 18:43:03 +08:00
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:
@@ -192,7 +192,7 @@ Reference :cite:`smith2024`.
|
||||
self.assertIn("padding: 0 !important;", rewritten)
|
||||
self.assertIn("border-radius: 6px;", rewritten)
|
||||
self.assertIn("background: #f6f8fa;", rewritten)
|
||||
self.assertIn("max-width: var(--content-max-width);", rewritten)
|
||||
self.assertIn("width: min(100%, max(80%, var(--content-max-width)));", rewritten)
|
||||
self.assertIn("margin-inline: auto;", rewritten)
|
||||
|
||||
def test_regular_page_does_not_render_frontpage_switch(self) -> None:
|
||||
|
||||
Reference in New Issue
Block a user