From f22bb55c4ff50a8a63c795487b057c0cebdae649 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 12 十二月 2019 09:19:58 +0800 Subject: [PATCH] 2019-12-12 --- src/components/header/index.scss | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/components/header/index.scss b/src/components/header/index.scss index 3c4a3f1..b98fff2 100644 --- a/src/components/header/index.scss +++ b/src/components/header/index.scss @@ -12,9 +12,11 @@ .header-logo { float: left; - width: 170px; + width: 180px; line-height: 48px; text-align: center; + padding-left: 5px; + box-sizing: border-box; opacity: 1; transition: width 0.2s, opacity 0.15s; img { @@ -25,13 +27,14 @@ .header-logo.collapse { opacity: 0; width: 0px; + padding-left: 0px; } .header-collapse { float: left; width: 80px; line-height: 48px; - padding-left: 30px; + padding-left: 20px; cursor: pointer; transition: padding-left 0.15s; i { -- Gitblit v1.8.0