diff --git a/index.html b/index.html index b9ec8bc..f6c6cbf 100644 --- a/index.html +++ b/index.html @@ -173,40 +173,54 @@

Table

-
+
+ + + + + +
Table.is-bordered Table.is-centeredTable.is-centeredTable.is-centered
Thou hast had a good morning Thou hast had a good afternoonThou hast had a good eveningThou hast had a good night
Thou hast had a good morning Thou hast had a good afternoonThou hast had a good eveningThou hast had a good night
+
+
+ + - + + + + +
Table.is-dark Table.is-borderedTable.is-borderedTable.is-bordered
Thou hast had a good morningThou hast had a good morningThou hast had a good afternonThou hast had a good eveningThou hast had a good night
Thou hast had a good morning Thou 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 fd35802..2e9a94e 100644 --- a/scss/elements/tables.scss +++ b/scss/elements/tables.scss @@ -1,3 +1,8 @@ +.nes-table-responsive { + max-width: 100%; + overflow-x: auto; + overflow-y: hidden; +} .nes-table { table-layout: fixed; background-color: $background-color; diff --git a/style.css b/style.css index 7ad5f23..498e264 100644 --- a/style.css +++ b/style.css @@ -16,20 +16,6 @@ div.containers > .nes-container { max-width: 400px; } -div.tables { - display: flex; - flex-wrap: wrap; -} - -div.tables > .nes-table { - min-width: 350px; - max-width: calc(50% - 2rem); -} -div.tables > .nes-table:first-child { - margin-right: 2rem; - margin-bottom: 2rem; -} - .balloon.nes-container .nes-balloon { max-width: 600px; margin: 2rem 2rem; @@ -92,10 +78,6 @@ div.tables > .nes-table:first-child { padding: 0; margin: 2rem 0.2rem; } - div.tables > .nes-table { - max-width: 100%; - margin-right: 0; - } .balloon.nes-container .nes-balloon { max-width: 70%; }