Skip to content

Commit

Permalink
Fix 'copy code' button displaying incorrectly (docsifyjs#448)
Browse files Browse the repository at this point in the history
Set `.markdown-section pre`'s `position` to `relative` to fix _Copy code_ button not displaying correctly.
  • Loading branch information
zartre authored and QingWei-Li committed Apr 10, 2018
1 parent 1f338d2 commit 48e531b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/themes/buble.styl
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ $sidebar-width = 16rem
padding 0 10px 12px 0
overflow auto
word-wrap normal
position relative

/* code highlight */
.token.cdata, .token.comment, .token.doctype, .token.prolog
Expand Down

0 comments on commit 48e531b

Please sign in to comment.