From 02cd4844ca7ba24035b5871972d1a46316b8b69d Mon Sep 17 00:00:00 2001 From: Wako Date: Mon, 10 Dec 2018 23:40:43 -0600 Subject: [PATCH] feat(tables): it replicates the responsive tables from bootstrap --- index.html | 34 +++++++++++++++++++++++++++++++++- scss/elements/tables.scss | 5 +++++ 2 files changed, 38 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index efe01fd1..d9f0bd60 100644 --- a/index.html +++ b/index.html @@ -152,40 +152,72 @@

Balloons

Table

-
+
+ + + + + + + + + + + + + + +
Table.is-bordered Table.is-centeredTable.is-centeredTable.is-centeredTable.is-centeredTable.is-centeredTable.is-centered
Thou hast had a good morning Thou hast had a good afternoonThou hast had a good afternoonThou hast had a good afternoonThou hast had a good afternoonThou hast had a good afternoonThou hast had a good afternoon
Thou hast had a good morning Thou hast had a good afternoonThou hast had a good afternoonThou hast had a good afternoonThou hast had a good afternoonThou hast had a good afternoonThou hast had a good afternoon
+
+
+ + + + + + + + + + + + + + +
Table.is-dark Table.is-borderedTable.is-borderedTable.is-borderedTable.is-borderedTable.is-borderedTable.is-bordered
Thou hast had a good morning Thou hast had a good morningThou hast had a good morningThou hast had a good morningThou hast had a good morningThou hast had a good morningThou hast had a good morning
Thou hast had a good morning Thou hast had a good afternoonThou hast had a good afternoonThou hast had a good afternoonThou hast had a good afternoonThou hast had a good afternoonThou hast had a good afternoon
diff --git a/scss/elements/tables.scss b/scss/elements/tables.scss index fd358028..f3e7d326 100644 --- a/scss/elements/tables.scss +++ b/scss/elements/tables.scss @@ -1,3 +1,8 @@ +.nes-table-responsive { + @media (max-width: 768px) { + overflow-x: scroll; + } +} .nes-table { table-layout: fixed; background-color: $background-color;