Skip to content

Commit

Permalink
fix($theme-default): make dropdown-title's UI consistent with nav-link (
Browse files Browse the repository at this point in the history
  • Loading branch information
Sun Haoran authored and ulivz committed Oct 5, 2019
1 parent d34b0ba commit 757e880
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/@vuepress/theme-default/components/DropdownLink.vue
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@ export default {
.dropdown-title
display block
font-size 0.9rem
font-family inherit
cursor inherit
padding inherit
line-height 1.4rem
background transparent
border none
font-weight 500
Expand Down Expand Up @@ -163,6 +167,11 @@ export default {
.dropdown-wrapper
&.open .dropdown-title
margin-bottom 0.5rem
.dropdown-title
font-weight 600
font-size inherit
&:hover
color $accentColor
.nav-dropdown
transition height .1s ease-out
overflow hidden
Expand Down

0 comments on commit 757e880

Please sign in to comment.