From fc7386e8840f4b635a33da46848e22f0d40b5f48 Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Thu, 4 Apr 2019 21:16:29 +0800 Subject: [PATCH] update --- source/less/_base.less | 1 - source/less/_header.less | 5 +++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/source/less/_base.less b/source/less/_base.less index f1e85f5..69c4988 100755 --- a/source/less/_base.less +++ b/source/less/_base.less @@ -83,7 +83,6 @@ fancybox{ @iconMargin: 4px; margin-top: 2vh; position: relative; - height: @height_navbar - @gap; max-width: ~"calc(100% - 1*@{gap})"; width: 1.1*@width_sidebar; @media(max-width: @on_laptop){ diff --git a/source/less/_header.less b/source/less/_header.less index 68f3e16..38a57f7 100755 --- a/source/less/_header.less +++ b/source/less/_header.less @@ -69,7 +69,7 @@ font-size: @fontsize_logo; font-family: @fontfamily_logo; @media(max-width: @on_phone){ - flex: auto; + // flex: auto; } &.img{ padding: 0 @gap 0 0; @@ -162,6 +162,7 @@ position: relative; display: flex; width: @width_sidebar; + height: @height_navbar; @media(max-width: @on_desktop){ width: @width_sidebar_m; } @@ -169,7 +170,7 @@ position: relative; display: block; width: 100%; - height: 100%; + margin: auto; } .icon,.input{ .enable-trans(.3s);