gt
gt copied to clipboard
Make the CSS for the container customizable
I am creating a report/newsletter using pagedown. A few times I align 2 figures next to each other by using float: left on them. If a gt table follows those figures, it is put in the same row, falling off the page.
A solution is to set the gt table container to have display: inline-block;.
The only way to do this right now (if I did not miss something) is to use a certain ID for the container and add the CSS style for each table over and over again.
By using a flexbox for my figures I do not have the issue as well. But I think it would be nice to be able to target the gt table containers somehow.