fix #2444: div for table scrollbar (#2446)

* fix #2444: div for table scrollbar

* span to div, white-space: nowrap in .css
This commit is contained in:
Scroogey-SN 2025-08-26 22:12:17 +00:00 committed by GitHub
parent 47a48fe952
commit e0bea64175
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 3 deletions

View File

@ -243,9 +243,9 @@ function MediaLink ({
function Table ({ node, ...props }) { function Table ({ node, ...props }) {
return ( return (
<span className='table-responsive'> <div className='table-responsive'>
<table className='table table-bordered table-sm' {...props} /> <table className='table table-bordered table-sm' {...props} />
</span> </div>
) )
} }

View File

@ -241,6 +241,7 @@
.text table { .text table {
width: auto; width: auto;
white-space: nowrap;
} }
.text blockquote { .text blockquote {
@ -448,4 +449,4 @@
max-width: 480px; max-width: 480px;
border-radius: 13px; border-radius: 13px;
overflow: hidden; overflow: hidden;
} }