From 752c6f2530c3f1b491157bf4eaa3e723b1a8f7b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C4=93teris=20Caune?= Date: Sun, 31 Jan 2016 21:19:21 +0200 Subject: [PATCH] CSS to fit long channel values. --- static/css/channels.css | 7 +++++++ templates/front/channels.html | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/static/css/channels.css b/static/css/channels.css index 5ff844dd..9ff571b9 100644 --- a/static/css/channels.css +++ b/static/css/channels.css @@ -6,6 +6,13 @@ line-height: 40px; } +.channels-table .value-cell { + max-width: 400px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} + .channels-table .channel-row:hover > td { background: #f5f5f5; } diff --git a/templates/front/channels.html b/templates/front/channels.html index c22045ae..6035e01a 100644 --- a/templates/front/channels.html +++ b/templates/front/channels.html @@ -26,7 +26,7 @@ {% if ch.kind == "pd" %} PagerDuty {% endif %} {% if ch.kind == "po" %} Pushover {% endif %} - + {% if ch.kind == "email" %} to {% endif %} {% if ch.kind == "pd" %} API key {% endif %}