Skip to content

Commit cdf5ad5

Browse files
committed
【修复】优化表格样式和功能
- 为表格单元格添加垂直滚动条,提高长内容的可读性 - 调整表格单元格的内边距,提升视觉效果 - 更新版本号至 1.18.6
1 parent 9fd1bcc commit cdf5ad5

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

index.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!doctype html>
22

33
<html>
4-
<markdown-html version="1.18.5" author="PJ568" repo="https://github.com/PJ-568/markdown.html"
4+
<markdown-html version="1.18.6" author="PJ568" repo="https://github.com/PJ-568/markdown.html"
55
license="CC BY-SA 4.0 International"></markdown-html>
66

77
<head>
@@ -960,14 +960,15 @@
960960
border: .1rem solid rgba(0, 0, 0, 0.05);
961961
}
962962

963-
.markdown-body table td,
964-
.markdown-body table th {
965-
border-right: .1rem solid rgba(0, 0, 0, 0.05);
963+
.markdown-body table>* {
964+
overflow-y: scroll;
966965
}
967966

968967
.markdown-body table td,
969968
.markdown-body table th {
969+
border-right: .1rem solid rgba(0, 0, 0, 0.05);
970970
border-top: .1rem solid rgba(0, 0, 0, 0.05);
971+
padding: .4rem;
971972
}
972973

973974
.markdown-body table td:last-child,

0 commit comments

Comments
 (0)