From a95dc4d3a7b3b976bba9353c8ec7ed72d456d458 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?John=20Molakvo=C3=A6=20=28skjnldsv=29?=
 <skjnldsv@protonmail.com>
Date: Wed, 15 Aug 2018 08:45:07 +0200
Subject: [PATCH] Ellipsis long username/mails in share view
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
---
 apps/files_sharing/css/sharetabview.scss | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/apps/files_sharing/css/sharetabview.scss b/apps/files_sharing/css/sharetabview.scss
index 83790c9ec4f..dca59923342 100644
--- a/apps/files_sharing/css/sharetabview.scss
+++ b/apps/files_sharing/css/sharetabview.scss
@@ -168,6 +168,7 @@
 		margin-left: auto;
 		display: flex;
 		align-items: center;
+		white-space: nowrap;
 		// can edit label
 		> .shareOption > label {
 			padding: 13px;
@@ -196,6 +197,9 @@
 	}
 	.username {
 		padding: 0 8px;
+		overflow: hidden;
+		white-space: nowrap;
+		text-overflow: ellipsis;
 	}
 }
 
-- 
GitLab