From 259b5bcd11af7666c6ce2721688214aa47e1b820 Mon Sep 17 00:00:00 2001 From: liuzhihang Date: Sun, 4 Dec 2022 13:01:39 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E4=BE=A7=E6=A0=8F=E5=B7=A6=E4=BE=A7?= =?UTF-8?q?=E4=B8=8D=E7=94=9F=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/assets/zhheo/zhheoblog.css | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/templates/assets/zhheo/zhheoblog.css b/templates/assets/zhheo/zhheoblog.css index df66ab4b..ed27f0e1 100644 --- a/templates/assets/zhheo/zhheoblog.css +++ b/templates/assets/zhheo/zhheoblog.css @@ -8096,6 +8096,27 @@ span.fund_name { width: calc(100% - 300px); } +/* 当隐藏边栏时,显示 100% */ +.layout.hide-aside > div:first-child { + width: 100%; +} + +/* 侧边栏在左侧时,显示 100% */ +.layout.left-aside > div:first-child { + -webkit-box-ordinal-group: 2; + -moz-box-ordinal-group: 2; + -o-box-ordinal-group: 2; + -ms-flex-order: 2; + -webkit-order: 2; + order: 2; +} + +/* 侧栏在左侧时,关闭左边距,打开右边距 */ +.layout.left-aside .aside-content { + padding-right: 15px; + padding-left: 0px !important; +} + /* 主页分类 */ div#categoryList { display: flex;