From a598befc9ef60cc12c88c66788cb6ebdbf765598 Mon Sep 17 00:00:00 2001 From: YJDave Date: Thu, 8 Mar 2018 22:58:36 +0530 Subject: [PATCH] pills: Show data-some-recipients placeholder text only on focus. Show data-some-recipients placeholder text only when input element to add recipients is focused. Fixes #8622 --- static/styles/input_pill.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/styles/input_pill.css b/static/styles/input_pill.css index 94172a5af7..1703ab9b89 100644 --- a/static/styles/input_pill.css +++ b/static/styles/input_pill.css @@ -96,7 +96,7 @@ opacity: 0.5; } -.pm_recipient .pill-container .pill + .input:empty::before { +.pm_recipient .pill-container .pill + .input:focus:empty::before { content: attr(data-some-recipients-text); opacity: 0.5; }