From f92d0972939ee00b802df6af39c642e126f67aa2 Mon Sep 17 00:00:00 2001 From: xiangxinyong Date: Fri, 8 Nov 2019 10:14:41 +0800 Subject: [PATCH] align center when zoom --- themes/project/layouts/partials/head.html | 2 +- themes/project/static/css/custom.css | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/themes/project/layouts/partials/head.html b/themes/project/layouts/partials/head.html index ca6d047..4be3797 100644 --- a/themes/project/layouts/partials/head.html +++ b/themes/project/layouts/partials/head.html @@ -37,7 +37,7 @@ - + diff --git a/themes/project/static/css/custom.css b/themes/project/static/css/custom.css index fb50d36..b8b6462 100644 --- a/themes/project/static/css/custom.css +++ b/themes/project/static/css/custom.css @@ -667,6 +667,12 @@ body { html { min-width: 320px; max-width: 1920px; + margin: 0 auto; +} + +.navbar-affixed-top.affix { + min-width: 320px; + max-width: 1920px; } @media screen and (min-width: 1280px) and (max-width: 1366px) { -- GitLab