refactor: simplify shared site layout

This commit is contained in:
Erzbir
2026-08-17 01:36:51 +08:00
parent fc5f5cc617
commit 7013297806
3 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -118,8 +118,8 @@
<body th:attr="data-layout-mode=${theme.config.style.fullscreen_layout ? 'fullscreen' : 'normal'},
data-table-full-width=${theme.config.style.table_full_width ? 'true' : 'false'}">
<div class="site-shell">
<div class="site-frame"
<div class="wrapper">
<div class="container"
th:attr="style=${theme.config.style.fullscreen_layout or #strings.isEmpty(theme.config.style.max_width) ? null : 'max-width:' + theme.config.style.max_width}">
<header class="header">
<th:block th:replace="~{modules/header :: header}"/>