From c820ee8779105f6025d339ba72cfd36758f12491 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Thu, 1 Mar 2018 17:01:04 +0100 Subject: [PATCH] Ellipsize long values in the user management MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- settings/css/settings.scss | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/settings/css/settings.scss b/settings/css/settings.scss index 18bc4efa78..006a069798 100644 --- a/settings/css/settings.scss +++ b/settings/css/settings.scss @@ -494,9 +494,10 @@ table.grid { td, th { &.name { padding-left: .8em; - width: 10em; - min-width: 10em; - max-width: 10em; + min-width: 5em; + max-width: 12em; + text-overflow: ellipsis; + overflow: hidden; } &.password { padding-left: .8em; @@ -510,10 +511,15 @@ td, th { &.password, &.displayName, &.mailAddress { - width: 12em; - min-width: 12em; + min-width: 5em; max-width: 12em; cursor: pointer; + span { + width: 90%; + display: inline-block; + text-overflow: ellipsis; + overflow: hidden; + } } &.mailAddress { cursor: pointer;