From 237985f70e5e4feedcae9878e86d5e5903befa18 Mon Sep 17 00:00:00 2001 From: berkas1 <berka@berkasimon.com> Date: Fri, 28 May 2021 21:12:57 +0200 Subject: [PATCH] change css class name for horizontally scrollable table --- layouts/shortcodes/csv-table.html | 2 +- static/custom.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/shortcodes/csv-table.html b/layouts/shortcodes/csv-table.html index 69c187f..3d82ea2 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 2b21231..c801292 100644 --- a/static/custom.css +++ b/static/custom.css @@ -1,4 +1,4 @@ -table { +.custom-table-horizontal-scroll { overflow-x: scroll; overflow-y: hidden; } -- GitLab