forked from XiaoMo/ChatGPT-Next-Web
Merge pull request #81 from iSource/fix-code-copy-button
fix: code copy button position
This commit is contained in:
commit
8f498075b9
@ -839,7 +839,7 @@
|
|||||||
|
|
||||||
.markdown-body .highlight pre,
|
.markdown-body .highlight pre,
|
||||||
.markdown-body pre {
|
.markdown-body pre {
|
||||||
padding: 16px;
|
padding: 16px 16px 8px 16px;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
font-size: 85%;
|
font-size: 85%;
|
||||||
line-height: 1.45;
|
line-height: 1.45;
|
||||||
@ -849,11 +849,11 @@
|
|||||||
|
|
||||||
.markdown-body pre code,
|
.markdown-body pre code,
|
||||||
.markdown-body pre tt {
|
.markdown-body pre tt {
|
||||||
display: inline;
|
display: inline-block;
|
||||||
max-width: auto;
|
max-width: 100%;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
overflow: visible;
|
overflow-x: scroll;
|
||||||
line-height: inherit;
|
line-height: inherit;
|
||||||
word-wrap: normal;
|
word-wrap: normal;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
|
Loading…
Reference in New Issue
Block a user