summary refs log tree commit diff
diff options
context:
space:
mode:
authorsternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>2020-09-30 17:53:50 +0200
committersternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>2020-09-30 17:53:50 +0200
commit6b7f614d97ea72cea9485bd654532a7af334d097 (patch)
tree57075288dfc66620fda32fc8c91bc8f9556ac272
parent3fa85c7506a7ec13854b24174377b4529738f1bd (diff)
fix(bahnhofshalle): minimize distracting resizes
* fix header height
* reserve space for the queue table

thanks @Profpatsch for the suggestions
-rw-r--r--bahnhofshalle/style.css6
1 files changed, 4 insertions, 2 deletions
diff --git a/bahnhofshalle/style.css b/bahnhofshalle/style.css
index fa4b536..e51a830 100644
--- a/bahnhofshalle/style.css
+++ b/bahnhofshalle/style.css
@@ -22,6 +22,7 @@ header {
   border-bottom: 5px solid #e1e1e1;
   display: flex;
   flex-wrap: wrap;
+  height: 30px;
 }
 
 header img,
@@ -38,6 +39,7 @@ a:visited, a:link {
 .table-container {
   max-width: 100%;
   overflow: auto;
+  min-height: 40vh;
 }
 
 #view-queue table {
@@ -49,8 +51,7 @@ a:visited, a:link {
   background-color: #e1e1e1;
 }
 
-#view-queue thead td,
-#view-queue tbody tr:nth-last-child(1) td {
+#view-queue thead td {
   border-bottom: 1px solid #333333;
 }
 
@@ -76,6 +77,7 @@ a:visited, a:link {
   display: flex;
   flex-wrap: wrap;
   justify-content:space-between;
+  border-top: 1px solid #333333;
 }
 
 #controls > div {