From 051dad683aa0fdb3939293f04353624297607f73 Mon Sep 17 00:00:00 2001 From: Isaac Levy Date: Tue, 12 Sep 2017 12:44:05 -0400 Subject: [PATCH] Add space when chat is copied This closes #3308. --- public/stylesheets/chat.css | 1 + ui/chat/src/util.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/public/stylesheets/chat.css b/public/stylesheets/chat.css index f5f2a23524..07d514aff0 100644 --- a/public/stylesheets/chat.css +++ b/public/stylesheets/chat.css @@ -116,6 +116,7 @@ div.mchat .messages .user_link { padding: 0; margin-right: 6px; opacity: 0.8; + word-spacing: -.25em; } div.mchat .messages a:not(.user_link) { font-family: 'Roboto'; diff --git a/ui/chat/src/util.ts b/ui/chat/src/util.ts index 435cfdc3a1..bf5ce2d09e 100644 --- a/ui/chat/src/util.ts +++ b/ui/chat/src/util.ts @@ -12,7 +12,7 @@ export function userLink(u: string) { attrs: { href: '/@/' + split[split.length === 1 ? 0 : 1] } - }, u.substring(0, 14)); + }, u.substring(0, 14) + " "); } export function spinner() {