fix: code copy button position

This commit is contained in:
iSource 2023-03-28 10:50:50 +08:00
parent 77a3fdea5f
commit 55f37248f7
1 changed files with 4 additions and 4 deletions

View File

@ -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;