From 48e531bcfb468c4f972dc72f296ad9bd8b96e82a Mon Sep 17 00:00:00 2001 From: Nathan Yiangsupapaanontr Date: Tue, 10 Apr 2018 07:14:24 +0700 Subject: [PATCH] Fix 'copy code' button displaying incorrectly (#448) Set `.markdown-section pre`'s `position` to `relative` to fix _Copy code_ button not displaying correctly. --- src/themes/buble.styl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/themes/buble.styl b/src/themes/buble.styl index 71c97e57..2b071195 100644 --- a/src/themes/buble.styl +++ b/src/themes/buble.styl @@ -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