From 6645e89efbcdfda058e551db9208cdbc48c9604c Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Mon, 8 Mar 2021 01:17:15 +0400 Subject: [PATCH] Just swapped lines for table's styles. --- static/files/assets/css/main.css | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/static/files/assets/css/main.css b/static/files/assets/css/main.css index d8885c1..66c1f9b 100644 --- a/static/files/assets/css/main.css +++ b/static/files/assets/css/main.css @@ -103,26 +103,28 @@ table { overflow-y: scroll; width: 100%; } tr { vertical-align: top; } -td a { display: block; width: 100%; } - tr:hover { background-color: var(--primary-color); color: white; } tr:hover a { color: white; } th { text-align: left; } +th:nth-child(2), +th:last-child { width: 1%; white-space: nowrap; } + th, td { line-break: strict; } th:nth-child(2), -th:last-child { width: 1%; white-space: nowrap; } +td:nth-child(2) { padding: 0 1rem; } + +td a { display: block; width: 100%; } + +td a:hover { transition: none; } td:nth-child(2), td:last-child { white-space: nowrap; } -th:nth-child(2), -td:nth-child(2) { padding: 0 1rem; } - footer { font-size: .8rem; text-align: center;