Skip to content

Commit 48e531b

Browse files
zartreQingWei-Li
authored andcommitted
Fix 'copy code' button displaying incorrectly (#448)
Set `.markdown-section pre`'s `position` to `relative` to fix _Copy code_ button not displaying correctly.
1 parent 1f338d2 commit 48e531b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/themes/buble.styl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ $sidebar-width = 16rem
112112
padding 0 10px 12px 0
113113
overflow auto
114114
word-wrap normal
115+
position relative
115116

116117
/* code highlight */
117118
.token.cdata, .token.comment, .token.doctype, .token.prolog

0 commit comments

Comments
 (0)