From 31476737ea5b59efdeae40bcdbf1537353b05c01 Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Fri, 31 Jan 2020 10:11:34 +0000 Subject: [PATCH] Enforce a max width on power labels --- res/css/views/rooms/_EntityTile.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/res/css/views/rooms/_EntityTile.scss b/res/css/views/rooms/_EntityTile.scss index bce01af097..a2867de3a7 100644 --- a/res/css/views/rooms/_EntityTile.scss +++ b/res/css/views/rooms/_EntityTile.scss @@ -127,6 +127,10 @@ limitations under the License. padding-inline-start: 6px; font-size: 10px; color: $notice-secondary-color; + max-width: 6em; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; } .mx_EntityTile:hover .mx_EntityTile_power {