diff --git a/assets/less/components/table.less b/assets/less/components/table.less index d5e68155..4e46adb6 100644 --- a/assets/less/components/table.less +++ b/assets/less/components/table.less @@ -1,8 +1,16 @@ +.table-responsive { + @apply .mb-4 .border .w-full; + overflow-x: auto; + overflow-y: hidden; +} + +.table-responsive table { + @apply .mb-0 .border-0 .whitespace-no-wrap; +} + .table { @apply .w-full; @apply .table-collapse; - @apply .border; - @apply .border-grey-light; } .table tr:nth-child(odd) { @@ -10,9 +18,9 @@ } .table tr th { - @apply .text-left .p-2 .bg-white; + @apply .text-left .p-3 .bg-white; } .table td { - @apply .px-2 .py-3 .border-t; + @apply .px-3 .py-3 .border-t; } diff --git a/assets/less/main.less b/assets/less/main.less index e81da190..ce41c835 100644 --- a/assets/less/main.less +++ b/assets/less/main.less @@ -62,9 +62,6 @@ svg { .table-collapse { border-collapse: collapse } -.overflow-x-auto { overflow-x: auto; } -.overflow-y-hidden { overflow-y: hidden; } - @import 'components/listing'; @import 'components/post'; @import 'components/post/about-author'; diff --git a/source/_includes/talks-table-row.html.twig b/source/_includes/talks-table-row.html.twig index 381c8e31..5a8a550d 100644 --- a/source/_includes/talks-table-row.html.twig +++ b/source/_includes/talks-table-row.html.twig @@ -1,5 +1,5 @@
Date | diff --git a/source/blog/tags/tag.html b/source/blog/tags/tag.html index fe305f6a..1830f8e1 100644 --- a/source/blog/tags/tag.html +++ b/source/blog/tags/tag.html @@ -15,7 +15,7 @@ generator: {% block content %}
---|