From ebd357a24a19548f72897b386065d90497993516 Mon Sep 17 00:00:00 2001 From: SuperBFG7 Date: Sun, 22 Apr 2018 20:48:18 +0200 Subject: [PATCH] fix layout --- htdocs/css/mpd.css | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/htdocs/css/mpd.css b/htdocs/css/mpd.css index c70c9c0..269902f 100644 --- a/htdocs/css/mpd.css +++ b/htdocs/css/mpd.css @@ -76,11 +76,11 @@ h1 { white-space: nowrap; } -td:nth-child(3), th:nth-child(3) { +td:nth-child(2), th:nth-child(2) { /* This *has* to be placed before any t[dh]:nth-last-child(2) for the override to work. */ - width: 50%; + min-width: 50%; } td:nth-last-child(2), th:nth-last-child(2) { @@ -95,7 +95,8 @@ td:nth-last-child(2), th:nth-last-child(2) { display: block; } -td:nth-child(2), td:nth-last-child(3) { +td:nth-child(3), td:nth-last-child(3) { + min-width: 25%; max-width: 0; overflow: hidden;