fix(theme): fix table horizontal overflow on narrow screens (#895)

This commit is contained in:
pengzhanbo 2026-04-26 14:05:30 +08:00 committed by GitHub
parent ac63654151
commit 2bfdec82d7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -110,6 +110,7 @@ function onCopy(type: 'html' | 'md') {
}
.vp-table .table-container table {
display: table;
margin: 0;
}

View File

@ -211,7 +211,7 @@
* Table
* -------------------------------------------------------------------------- */
.vp-doc table {
display: table;
display: block;
margin: 20px 0;
overflow-x: auto;
border-collapse: collapse;