Data table and column margin on mobile
-
Hi!
Thank you again for a great plugin!
(Note that I want the horizontal scrollbar to appear on tables in mobile and therefore have the responsive table option turned off.)
I’m having issues with adding margins to columns containing data tables.
For example, in this image, I have a page only composed of a data table and a black border around the section column. (I have also added text above and below the table to make things clearer.) The column has zero margin and it appears correctly on the frontend. All good so far.
However, here is what it looks like when I add a 10px margin to the column. The same issue is also on the frontend – the right border isn’t visible.
It’s only once I remove the data table that the column behaves as expected with a 10px margin, as shown here.
Is there a way of keeping the horizontal scrollbar for an overflowing table while also having a margin on the column containing that table without it breaking?
Thanks!
The topic ‘Data table and column margin on mobile’ is closed to new replies.