summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRoland Stigge <stigge@antcom.de>2018-01-21 19:04:20 +0100
committerRoland Stigge <stigge@antcom.de>2018-01-21 19:04:20 +0100
commit1591ac129d55570c66f4b4fbbcd4b32091a414c4 (patch)
tree48f56cee3f97c9b9c62d3842d6800e856e2ef9dd
parent54643c4c4cbaa47cd99245c6826f4a78b47229e3 (diff)
Set maximum width in file list
-rw-r--r--html/webbox.css4
-rw-r--r--src/webbox.cpp2
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 <QUrlQuery>
#include <QPair>
-#define PROGRAMVERSION "1.3"
+#define PROGRAMVERSION "1.4"
#define BUFSIZE 1000000
// XML special characters: