Fix table view on smaller screens Signed-off-by: Anirudh Oppiliappan <x@icyphox.sh>
Anirudh Oppiliappan x@icyphox.sh
Sat, 05 Oct 2019 22:25:50 +0530
2 files changed,
26 insertions(+),
2 deletions(-)
M
build/static/style.css
→
build/static/style.css
@@ -59,7 +59,7 @@ }
.content { position: relative; - font-size: 18px; + font-size: 17px; top: 10%; left: 30%; right: 30%;@@ -129,6 +129,18 @@ }
table { width: 100%; +} + +td { + white-space: nowrap; +} + +td:first-child { + width: 100%; + max-width: 1px; + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; } a {
M
static/style.css
→
static/style.css
@@ -59,7 +59,7 @@ }
.content { position: relative; - font-size: 18px; + font-size: 17px; top: 10%; left: 30%; right: 30%;@@ -129,6 +129,18 @@ }
table { width: 100%; +} + +td { + white-space: nowrap; +} + +td:first-child { + width: 100%; + max-width: 1px; + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; } a {