From 384ab997fe7c47ffcf1bfb018829661c4b929519 Mon Sep 17 00:00:00 2001 From: "SmallChi(Koike)" <564952747@qq.com> Date: Fri, 17 Apr 2020 22:03:00 +0800 Subject: [PATCH] =?UTF-8?q?1.Blazor=E8=AF=95=E6=B0=B4=E6=88=90=E5=8A=9F=20?= =?UTF-8?q?2.=E5=AE=8C=E5=96=84=E5=BA=95=E9=83=A8=E5=A4=87=E6=A1=88?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/JTTools/wwwroot/css/site.css | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/src/JTTools/wwwroot/css/site.css b/src/JTTools/wwwroot/css/site.css index 5a32d0b..a9626f2 100644 --- a/src/JTTools/wwwroot/css/site.css +++ b/src/JTTools/wwwroot/css/site.css @@ -99,6 +99,7 @@ app { .content { padding-top: 1.1rem; + padding-bottom: 60px; } .navbar-toggler { @@ -135,7 +136,13 @@ app { right: 0.75rem; top: 0.5rem; } - +.footer { + position: fixed; + bottom: 0; + text-align: center; + padding: 10px !important; + background: #fff; +} @media (max-width: 767.98px) { .main .top-row:not(.auth) { display: none; @@ -148,6 +155,9 @@ app { .main .top-row a, .main .top-row .btn-link { margin-left: 0; } + .footer { + width: 100%; + } } @media (min-width: 768px) { @@ -180,12 +190,7 @@ app { /* Never collapse the sidebar for wide screens */ display: block; } -} -.footer { - position: fixed; - bottom: 0; - text-align: center; - width: calc(100% - 250px); - padding: 0 !important; - margin: 10px !important; -} \ No newline at end of file + .footer { + width: calc(100% - 250px); + } + }