From 45acc76aee440143a7e0a2300016f6fc34cc1bbd Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 22 八月 2022 09:55:19 +0800 Subject: [PATCH] 2022-08-22 --- src/components/header/index.scss | 16 +++++++++------- 1 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/components/header/index.scss b/src/components/header/index.scss index 27850ef..6ce5747 100644 --- a/src/components/header/index.scss +++ b/src/components/header/index.scss @@ -205,21 +205,23 @@ } .menu-detail { max-width: 60vw; - padding: 5px 0 10px 15px; + padding: 5px 0 5px 15px; div { - float: left; - margin-bottom: 5px; + // float: left; + display: inline-block; + vertical-align: top; + margin-bottom: 8px; width: 120px; - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; + // overflow: hidden; + // white-space: nowrap; + // text-overflow: ellipsis; cursor: pointer; } div:hover { color: #40a9ff; } div:not(:last-child) { - margin-right: 20px; + margin-right: 15px; } } .menu-detail::after { -- Gitblit v1.8.0