From c66856defcb339c07464c40f4f71cc6590968f9c Mon Sep 17 00:00:00 2001 From: Argo-MacBookPro Date: Fri, 10 Aug 2018 15:02:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A0=B7=E5=BC=8F=EF=BC=9Asi?= =?UTF-8?q?te-footer=20got=E6=9B=B4=E6=94=B9=E4=B8=BAFlex=E5=B8=83?= =?UTF-8?q?=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bootstrap.Admin/Views/Shared/Footer.cshtml | 10 ++++------ Bootstrap.Admin/wwwroot/css/site.css | 19 ++++++++++++++++--- 2 files changed, 20 insertions(+), 9 deletions(-) diff --git a/Bootstrap.Admin/Views/Shared/Footer.cshtml b/Bootstrap.Admin/Views/Shared/Footer.cshtml index 4879d956..6be71a1a 100644 --- a/Bootstrap.Admin/Views/Shared/Footer.cshtml +++ b/Bootstrap.Admin/Views/Shared/Footer.cshtml @@ -1,9 +1,7 @@ @model ModelBase diff --git a/Bootstrap.Admin/wwwroot/css/site.css b/Bootstrap.Admin/wwwroot/css/site.css index 7b3615fc..f902b40a 100644 --- a/Bootstrap.Admin/wwwroot/css/site.css +++ b/Bootstrap.Admin/wwwroot/css/site.css @@ -196,7 +196,18 @@ a, a:hover, a:focus { left: 0; bottom: 0; right: 0; - white-space: nowrap; + display: flex; +} + + .site-footer > span { + flex: 1 1 auto; + text-align: center; + margin-left: 4px; + } + +.fixed { + position: fixed; + z-index: 100; } .go-top { @@ -205,8 +216,10 @@ a, a:hover, a:focus { height: 20px; border-radius: 50%; -webkit-border-radius: 50%; - position: absolute; - right: 10px; + display: flex; + align-items: center; + justify-content: center; + margin-right: 4px; } .go-top:hover {