diff --git a/assets/scss/header.scss b/assets/scss/header.scss index 9232d2774..c42af34d1 100644 --- a/assets/scss/header.scss +++ b/assets/scss/header.scss @@ -92,12 +92,13 @@ position: absolute; top: 40px; box-sizing: border-box; - width: 160px; + max-width: 300px; padding: 12px 0; left: 50%; transform: translateX(-50%); background: #ffffff; line-height: 30px; + white-space: nowrap; font-size: 0; border-radius: 6px; box-shadow: 0 4px 8px 0 rgba(36,46,66,.06),0 8px 16px 0 rgba(36,46,66,.05); @@ -137,14 +138,6 @@ // } } - .menu-2 { - width: 260px; - } - - .menu-5 { - width: 120px; - } - .right-menu { position: absolute; top: 28px; @@ -186,11 +179,15 @@ } .dropdown-menu { color: black; - width: 100px; - padding-left: 20px; + padding: 10px 20px; li { padding: 0; margin: 0; + color: #36435c; + + &:hover { + color: #55bc8a; + } } } } @@ -208,8 +205,9 @@ } .dropdown-menu { - width: 300px; top: 60px; + min-width: 280px; + white-space: normal; } ol { diff --git a/layouts/index.html b/layouts/index.html index 54b8a7c1c..d79f9bd1e 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -190,11 +190,11 @@