From ebd89e88416cf513f28d692f6016691b98818115 Mon Sep 17 00:00:00 2001 From: Argo-MacBookPro Date: Sun, 16 Sep 2018 15:54:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=A0=B7=E5=BC=8F=EF=BC=9A?= =?UTF-8?q?=E5=BE=AE=E8=B0=83aside=E9=AB=98=E5=BA=A6=E4=B8=BA=E5=BA=95?= =?UTF-8?q?=E7=AB=AF=E5=A1=AB=E6=BB=A1=EF=BC=8C=E9=81=AE=E7=9B=96footer?= =?UTF-8?q?=E7=A9=BA=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bootstrap.Admin/wwwroot/css/site-responsive.css | 2 ++ Bootstrap.Admin/wwwroot/css/site.css | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Bootstrap.Admin/wwwroot/css/site-responsive.css b/Bootstrap.Admin/wwwroot/css/site-responsive.css index b0a3ddbd..fd9b4897 100644 --- a/Bootstrap.Admin/wwwroot/css/site-responsive.css +++ b/Bootstrap.Admin/wwwroot/css/site-responsive.css @@ -36,6 +36,7 @@ bottom: 40px; position: absolute; overflow: auto; + height: auto; } .header { @@ -80,6 +81,7 @@ bottom: 40px; position: absolute; overflow: auto; + height: auto; } aside { diff --git a/Bootstrap.Admin/wwwroot/css/site.css b/Bootstrap.Admin/wwwroot/css/site.css index 49f22edc..0d6b3e08 100644 --- a/Bootstrap.Admin/wwwroot/css/site.css +++ b/Bootstrap.Admin/wwwroot/css/site.css @@ -13,12 +13,12 @@ body { aside { transition: transform .4s ease-in-out; transform: translate(-100%); - height: 100%; position: absolute; top: 98px; - bottom: 40px; + bottom: 0; left: 0; right: 0; + height: auto; z-index: 5; } @@ -31,6 +31,7 @@ aside { overflow: auto; width: 100%; z-index: 5; + height: 100%; background: #2a3542; }