gt icon indicating copy to clipboard operation
gt copied to clipboard

Make the CSS for the container customizable

Open martinschmelzer opened this issue 5 years ago • 0 comments

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.

martinschmelzer avatar Jul 27 '20 09:07 martinschmelzer