summaryrefslogtreecommitdiff
path: root/jimbrella/static/jimbrella.css
diff options
context:
space:
mode:
authorFrederick Yin <fkfd@fkfd.me>2021-10-22 00:03:24 +0800
committerFrederick Yin <fkfd@fkfd.me>2021-10-22 00:03:24 +0800
commitf78c58931ec4e8c10e6f085ee5bea9ff8d4ad58a (patch)
treee00b6cca382b031cd8b6d0bfebd8f31b687808ed /jimbrella/static/jimbrella.css
parent537d044b73d277c5326d143a55ca57a233786af0 (diff)
Mobile view for overdue table
This prevents banner and tile containers from overflowing to the left.
Diffstat (limited to 'jimbrella/static/jimbrella.css')
-rw-r--r--jimbrella/static/jimbrella.css10
1 files changed, 9 insertions, 1 deletions
diff --git a/jimbrella/static/jimbrella.css b/jimbrella/static/jimbrella.css
index 8e629ef..dcadf42 100644
--- a/jimbrella/static/jimbrella.css
+++ b/jimbrella/static/jimbrella.css
@@ -4,6 +4,7 @@ body {
display: grid;
align-items: center;
justify-content: center;
+ overflow-x: auto;
}
#container {
@@ -25,6 +26,10 @@ td.tab {
display: grid;
}
+.table-container {
+ overflow-x: auto;
+}
+
.tile-container {
display: flex;
flex-wrap: wrap;
@@ -48,7 +53,6 @@ table.data {
}
td {
- border: 1px solid;
padding: 1em;
}
@@ -71,3 +75,7 @@ td {
.big {
font-size: 3em;
}
+
+.far {
+ padding: 0.2em;
+}