From 1591ac129d55570c66f4b4fbbcd4b32091a414c4 Mon Sep 17 00:00:00 2001 From: Roland Stigge Date: Sun, 21 Jan 2018 19:04:20 +0100 Subject: Set maximum width in file list --- html/webbox.css | 4 +++- src/webbox.cpp | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/html/webbox.css b/html/webbox.css index b9421a5..89f4885 100644 --- a/html/webbox.css +++ b/html/webbox.css @@ -177,6 +177,7 @@ table.menu td.entry { table.list { width: 100%; + table-layout: fixed; border: 0; /* 1px solid #000000; */ cursor: pointer; background-color: #FFFFFF; @@ -199,13 +200,14 @@ table.list td { } table.list td.type { - width: 50px; + width: 30px; } table.list td.name { width: 100%; color: #0000FF; white-space: pre; + overflow: hidden; } @media only screen and (min-width: 1px) and (max-width: 630px) { diff --git a/src/webbox.cpp b/src/webbox.cpp index 1bc0664..12d90c6 100644 --- a/src/webbox.cpp +++ b/src/webbox.cpp @@ -13,7 +13,7 @@ #include #include -#define PROGRAMVERSION "1.3" +#define PROGRAMVERSION "1.4" #define BUFSIZE 1000000 // XML special characters: -- cgit v1.2.3