fix(layout): restore Zibll float dual-column so content no longer overlaps sidebar

Align main shells to main.container > .content-wrap + .sidebar siblings, drop
content-shell padding on dual-column hosts, and remove route flex overrides that
disabled the negative-margin sidebar math.
This commit is contained in:
kate522 committed 2026-07-22 21:05:12 +08:00
1 parent 79bc4159f5
commit 7d33097209
15 files changed
+156 -172

No files matched your search

+1 -1
View File
@@ -49,7 +49,7 @@ if ($page_title === '') {
<?php
if (function_exists('aksrt_archive_open_shell')) {
aksrt_archive_open_shell([
'main_class' => 'site-main container content-shell content-shell--page',
'main_class' => 'site-main container ',
'has_sidebar' => false,
'page_kind' => 'categories',
]);
+1 -1
View File
@@ -14,7 +14,7 @@ $links = function_exists('aksrt_get_friend_links') ? aksrt_get_friend_links() :
if (function_exists('aksrt_archive_open_shell')) {
aksrt_archive_open_shell([
'main_class' => 'site-main container content-shell content-shell--page page-content-default',
'main_class' => 'site-main container page-content-default',
'has_sidebar' => false,
'page_kind' => 'friends',
]);
+1 -1
View File
@@ -25,7 +25,7 @@ $query = new WP_Query([
if (function_exists('aksrt_archive_open_shell')) {
aksrt_archive_open_shell([
'main_class' => 'site-main container content-shell content-shell--page page-content-default',
'main_class' => 'site-main container page-content-default',
'has_sidebar' => false,
'page_kind' => 'newposts',
]);