Skip to content

Commit e2b6641

Browse files
authoredOct 14, 2020
fix($core): add missing styles for OutboundLink (#2662)
1 parent a400171 commit e2b6641

File tree

2 files changed

+13
-11
lines changed

2 files changed

+13
-11
lines changed
 

‎packages/@vuepress/core/lib/client/components/OutboundLink.vue

+13
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,16 @@ export default {
4343
top: -1px;
4444
}
4545
</style>
46+
47+
<style lang="stylus">
48+
.sr-only
49+
position absolute
50+
width 1px
51+
height 1px
52+
padding 0
53+
margin -1px
54+
overflow hidden
55+
clip rect(0, 0, 0, 0)
56+
white-space nowrap
57+
border-width 0
58+
</style>

‎packages/@vuepress/theme-default/styles/index.styl

-11
Original file line numberDiff line numberDiff line change
@@ -189,17 +189,6 @@ th, td
189189
.sidebar
190190
top 0
191191

192-
.sr-only
193-
position absolute
194-
width 1px
195-
height 1px
196-
padding 0
197-
margin -1px
198-
overflow hidden
199-
clip rect(0, 0, 0, 0)
200-
white-space nowrap
201-
border-width 0
202-
203192
@media (min-width: ($MQMobile + 1px))
204193
.theme-container.no-sidebar
205194
.sidebar

0 commit comments

Comments
 (0)
Please sign in to comment.