I’m utilizing Gutenberg to create tables. Gutenberg tables have the next front-end construction :
<determine class="wp-block-table">
<desk>
...
</desk>
</determine>
I might like so as to add a drop-shadow to my desk but it surely does not work because of overflow-x : auto
on the father or mother factor determine
.
One repair can be to wrap the desk like this :
<determine class="wp-block-table">
<div class="table-wrapper">
<desk>
...
</desk>
</div>
</determine>
Is there a solution to simply wrap the desk
? I’ve seen a solution to wrap a complete gutenberg block (utilizing render_block
filter) however no solely a toddler factor.