From bee1cbca80095d4786bb0be79e6273417adbabc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C4=93teris=20Caune?= Date: Sun, 19 Aug 2018 20:06:42 +0300 Subject: [PATCH] Better ellipsizing of long log lines. --- static/css/log.css | 15 +-------------- templates/front/details_events.html | 2 -- templates/front/log.html | 2 -- 3 files changed, 1 insertion(+), 18 deletions(-) diff --git a/static/css/log.css b/static/css/log.css index 46b13769..f3974189 100644 --- a/static/css/log.css +++ b/static/css/log.css @@ -2,10 +2,6 @@ content: " "; } -#log-container { - overflow: hidden; -} - #log { visibility: hidden; font-size: 13px; @@ -29,22 +25,13 @@ #log .details { width: 100%; -} + max-width: 0; -#log .details div { - width: 700px; white-space: nowrap; overflow: hidden; - overflow-x: hidden; text-overflow: ellipsis; } -@media (min-width: 1200px) { - #log .details div { - width: 900px; - } -} - #log .details span.ua-body { font-family: "Lucida Console", Monaco, monospace; font-size: 11.7px; diff --git a/templates/front/details_events.html b/templates/front/details_events.html index 6293e5ee..35d5c28c 100644 --- a/templates/front/details_events.html +++ b/templates/front/details_events.html @@ -17,7 +17,6 @@ {% endif %} -
{% if event.scheme == "email" %} {{ event.ua }} @@ -37,7 +36,6 @@ {% endif %} {% endif %} -
{% endif %} diff --git a/templates/front/log.html b/templates/front/log.html index 1f4e36d9..4a4e6449 100644 --- a/templates/front/log.html +++ b/templates/front/log.html @@ -51,7 +51,6 @@ {% endif %} -
{% if event.scheme == "email" %} {{ event.ua }} @@ -74,7 +73,6 @@ {% endif %} {% endif %} -
{% endif %}