all repos — site @ 0ad9f04bf0b10d1b5c621ee9d5679ffd6b9dd5eb

source for my site, found at icyphox.sh

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
commit

0ad9f04bf0b10d1b5c621ee9d5679ffd6b9dd5eb

parent

ebfa59d9e9ff1dc10c25844c431b6d53637b5d92

2 files changed, 26 insertions(+), 2 deletions(-)

jump to
M build/static/style.cssbuild/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.cssstatic/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 {