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

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