diff --git a/layouts/shortcodes/csv-table.html b/layouts/shortcodes/csv-table.html index 69c187f40417439d7db4b18bd5d4864c4def6541..3d82ea2fee5f3394b4a0781fa70715bb5de3bdc3 100644 --- a/layouts/shortcodes/csv-table.html +++ b/layouts/shortcodes/csv-table.html @@ -4,7 +4,7 @@ -<div class="custom-table-1" > +<div class="custom-table-horizontal-scroll" > <table class="sortable"> {{ with $caption }}<caption>{{ . }}</caption>{{ end }} {{ if $useHeaderRow }} diff --git a/static/custom.css b/static/custom.css index 2b2123119d76bbd58f9e4b92a138ec31fbf0fd70..c80129260428ce4e00805b919c5a18b661d8cdb7 100644 --- a/static/custom.css +++ b/static/custom.css @@ -1,4 +1,4 @@ -table { +.custom-table-horizontal-scroll { overflow-x: scroll; overflow-y: hidden; }