提交 757e880e 编写于 作者: S Sun Haoran 提交者: ULIVZ

fix($theme-default): make dropdown-title's UI consistent with nav-link (#1890)

上级 d34b0ba3
...@@ -109,6 +109,10 @@ export default { ...@@ -109,6 +109,10 @@ export default {
.dropdown-title .dropdown-title
display block display block
font-size 0.9rem font-size 0.9rem
font-family inherit
cursor inherit
padding inherit
line-height 1.4rem
background transparent background transparent
border none border none
font-weight 500 font-weight 500
...@@ -163,6 +167,11 @@ export default { ...@@ -163,6 +167,11 @@ export default {
.dropdown-wrapper .dropdown-wrapper
&.open .dropdown-title &.open .dropdown-title
margin-bottom 0.5rem margin-bottom 0.5rem
.dropdown-title
font-weight 600
font-size inherit
&:hover
color $accentColor
.nav-dropdown .nav-dropdown
transition height .1s ease-out transition height .1s ease-out
overflow hidden overflow hidden
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册