Skip to content

Commit

Permalink
fix($core): add missing styles for OutboundLink (#2662)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed Oct 14, 2020
1 parent a400171 commit e2b6641
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
13 changes: 13 additions & 0 deletions packages/@vuepress/core/lib/client/components/OutboundLink.vue
Expand Up @@ -43,3 +43,16 @@ export default {
top: -1px;
}
</style>

<style lang="stylus">
.sr-only
position absolute
width 1px
height 1px
padding 0
margin -1px
overflow hidden
clip rect(0, 0, 0, 0)
white-space nowrap
border-width 0
</style>
11 changes: 0 additions & 11 deletions packages/@vuepress/theme-default/styles/index.styl
Expand Up @@ -189,17 +189,6 @@ th, td
.sidebar
top 0

.sr-only
position absolute
width 1px
height 1px
padding 0
margin -1px
overflow hidden
clip rect(0, 0, 0, 0)
white-space nowrap
border-width 0

@media (min-width: ($MQMobile + 1px))
.theme-container.no-sidebar
.sidebar
Expand Down

0 comments on commit e2b6641

Please sign in to comment.