From: SuperBFG7 Date: Sun, 22 Apr 2018 18:48:18 +0000 (+0200) Subject: fix layout X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=ebd357a24a19548f72897b386065d90497993516;p=ympd.git fix layout --- 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;