Skip to content

Commit

Permalink
fix(components): add default value for styl variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed Nov 12, 2020
1 parent b1513ed commit d9933e4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/components/src/BreadCrumb.vue
Expand Up @@ -22,6 +22,8 @@
<style lang="stylus">
@require '~@mr-hope/vuepress-shared-utils/styles/wrapper.styl'
$navbarMobileHeight ?= 3.2rem
// Fix top boarder of heading1
.theme-default-content:not(.custom)
> *:first-child
Expand Down
2 changes: 2 additions & 0 deletions packages/components/src/Pagination.vue
Expand Up @@ -60,6 +60,8 @@
<script src="./Pagination" />

<style lang="stylus">
$bgColor ?= #fff
.pagination-wrapper
margin 1.25rem 0 0.75rem
font-family Arial, Helvetica, sans-serif
Expand Down

0 comments on commit d9933e4

Please sign in to comment.