From 62a5a2e5b408baddcafb1071d418100c6201f455 Mon Sep 17 00:00:00 2001 From: CJ Patoilo Date: Mon, 18 May 2020 14:32:46 -0300 Subject: [PATCH] Add responsive support to the table element --- src/_Table.sass | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/_Table.sass b/src/_Table.sass index 370d255..e93970c 100644 --- a/src/_Table.sass +++ b/src/_Table.sass @@ -4,16 +4,23 @@ table border-spacing: 0 + display: block + overflow-x: auto width: 100% td, th border-bottom: .1rem solid $color-quinary padding: 1.2rem 1.5rem - text-align: left &:first-child padding-left: 0 &:last-child padding-right: 0 + +@media (min-width: 40.0rem) + + table + display: table + overflow-x: initial