From 55f37248f7dc7be70a30daa39f902e3dfc7adf17 Mon Sep 17 00:00:00 2001
From: iSource <majianjian.cn@gmail.com>
Date: Tue, 28 Mar 2023 10:50:50 +0800
Subject: [PATCH] fix: code copy button position

---
 app/styles/markdown.scss | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/app/styles/markdown.scss b/app/styles/markdown.scss
index d90555a50..ec2052c48 100644
--- a/app/styles/markdown.scss
+++ b/app/styles/markdown.scss
@@ -839,7 +839,7 @@
 
 .markdown-body .highlight pre,
 .markdown-body pre {
-  padding: 16px;
+  padding: 16px 16px 8px 16px;
   overflow: auto;
   font-size: 85%;
   line-height: 1.45;
@@ -849,11 +849,11 @@
 
 .markdown-body pre code,
 .markdown-body pre tt {
-  display: inline;
-  max-width: auto;
+  display: inline-block;
+  max-width: 100%;
   padding: 0;
   margin: 0;
-  overflow: visible;
+  overflow-x: scroll;
   line-height: inherit;
   word-wrap: normal;
   background-color: transparent;