From 8bdde5adc5ecef09c8f15cc9c0205ed32ac62a9c Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Thu, 13 Nov 2014 19:02:06 +0100 Subject: [PATCH] Fix long menu item titles breaking our menu We will not allow Karl-Theodor Maria Nikolaus Johann Jacob Philipp Franz Joseph Sylvester Freiherr von und zu Guttenberg to view his full name :(. fixes #7663 --- public/css/icinga/menu.less | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/public/css/icinga/menu.less b/public/css/icinga/menu.less index 6f8b97fa9..a8951956e 100644 --- a/public/css/icinga/menu.less +++ b/public/css/icinga/menu.less @@ -25,7 +25,7 @@ } #menu li { - margin-left: 0.5em; + margin-left: 0.5em; } #menu > ul > li { @@ -108,6 +108,9 @@ line-height: 2.5em; padding-left: 0.7em; text-decoration: none; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; } #menu img.icon { @@ -155,6 +158,7 @@ #menu li.hover > a { color: white; + overflow: visible; } #menu li.hover > ul a {