commit
All checks were successful
Deploy to Server / deploy (push) Successful in 27s

This commit is contained in:
jeremygan2021
2026-03-11 22:47:35 +08:00
parent 5a87105ec9
commit dbd752b833
7 changed files with 259 additions and 124 deletions

View File

@@ -55,7 +55,7 @@
.language {
color: #9cdcfe;
font-size: 12px;
font-size: 14px;
font-weight: 600;
text-transform: uppercase;
}
@@ -75,7 +75,7 @@
.copy-text {
color: #ccc;
font-size: 12px;
font-size: 14px;
margin-left: 4px;
}
}
@@ -90,7 +90,7 @@
.code-text {
color: #d4d4d4;
font-family: 'Courier New', Courier, monospace;
font-size: 14px;
font-size: 16px;
line-height: 1.5;
white-space: pre;
display: block;

View File

@@ -22,7 +22,7 @@ const MarkdownReader: React.FC<Props> = ({ content, themeColor = '#00b96b' }) =>
renderer.table = (header, body) => {
return `<div style="overflow-x: auto; width: 100%; -webkit-overflow-scrolling: touch;">
<table style="width: 100%; min-width: 600px; border-collapse: collapse; margin: 16px 0; font-size: 14px;">
<table style="width: 100%; min-width: 600px; border-collapse: collapse; margin: 16px 0; font-size: 16px;">
<thead>${header}</thead>
<tbody>${body}</tbody>
</table>