fix: table boarder not shown in md

This commit is contained in:
h z
2025-03-05 18:29:13 +00:00
parent dd1ee9fd5c
commit 8abf54eade
2 changed files with 17 additions and 2 deletions

View File

@@ -32,7 +32,6 @@ const Footer = () => {
<a href="https://git.hangman-lab.top/hzhang/HangmanLab">git</a>
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
v0.0.10
</span>
)}</p>
{
@@ -79,7 +78,6 @@ const Footer = () => {
)
}
</div>
</footer>
);
};

View File

@@ -93,3 +93,20 @@ pre {
color: #888;
}
.markdown-preview table {
width: 100%;
border-collapse: collapse;
border: 1px solid #ddd;
}
.markdown-preview th,
.markdown-preview td {
border: 1px solid #ddd;
padding: 8px;
text-align: left;
}
.markdown-preview th {
background-color: #f4f4f4;
font-weight: bold;
}