From 543c7e76c724c7759ff4e9bab1280cfed987ab73 Mon Sep 17 00:00:00 2001 From: Midgard Date: Thu, 18 Jun 2020 13:30:46 +0200 Subject: [PATCH] Improve layout --- htdocs/css/infoboards.css | 8 +++++--- includes/StopInfoboard.php | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/htdocs/css/infoboards.css b/htdocs/css/infoboards.css index d8888e9..615bbe5 100644 --- a/htdocs/css/infoboards.css +++ b/htdocs/css/infoboards.css @@ -50,7 +50,7 @@ tr.line .lineNumber { tr.line .destination { font-size: 85%; - + -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; @@ -115,10 +115,12 @@ tr.line .destination { } .disturbance ul, .disturbance li, .disturbance p { margin: 0; - margin-top: 0.2em; + margin-top: 0.4em; padding: 0; list-style: none; - white-space: pre-wrap; + } + .disturbance li:first-child, .disturbance p:first-child { + margin-top: 0.4em; } .disturbance h3, .disturbance h4 { margin: 0; diff --git a/includes/StopInfoboard.php b/includes/StopInfoboard.php index f41e661..1d30679 100644 --- a/includes/StopInfoboard.php +++ b/includes/StopInfoboard.php @@ -106,7 +106,7 @@ echo '

Omleidingen