From af4344a11b75d6db2b4bc566fdc6cef2fd0e26e5 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Mon, 15 Apr 2019 23:39:07 +0200 Subject: Fixed percental width of columns --- src/main/resources/css/files.css | 16 ++++++++-------- src/main/resources/views/files.rocker.html | 7 +++++++ 2 files changed, 15 insertions(+), 8 deletions(-) (limited to 'src/main/resources') diff --git a/src/main/resources/css/files.css b/src/main/resources/css/files.css index a0fae88..3ceb173 100644 --- a/src/main/resources/css/files.css +++ b/src/main/resources/css/files.css @@ -36,20 +36,20 @@ tr td, tr th { text-overflow: ellipsis; } -tr td:nth-child(1) { - max-width: 40%; +colgroup col:nth-child(1) { + width: 40%; } -tr td:nth-child(2) { - max-width: 20%; +colgroup col:nth-child(2) { + width: 15%; } -tr td:nth-child(3) { - max-width: 30%; +colgroup col:nth-child(3) { + width: 30%; } -tr td:nth-child(4) { - max-width: 10%; +colgroup col:nth-child(4) { + width: 15%; } .drop { diff --git a/src/main/resources/views/files.rocker.html b/src/main/resources/views/files.rocker.html index bb01259..fdea65f 100644 --- a/src/main/resources/views/files.rocker.html +++ b/src/main/resources/views/files.rocker.html @@ -15,6 +15,13 @@
Name | -- cgit v1.2.3
---|