pills: Show data-no-recipients text only if no recipients selected.

Currently, we shows data-no-recipients placeholder text even if
there are recipients selected. It's not visible cause it's value
is override by data-some-recipients helper text in case if there
are recipients selected.

Show data-no-recipients placeholder text only when `input` element
is first child of `pill-container`, which means there are no `pills`
selected by user yet.
This commit is contained in:
YJDave 2018-03-08 23:43:40 +05:30 committed by Tim Abbott
parent e1ab6ceccc
commit c035acce6c

View File

@ -91,7 +91,7 @@
height: 20px;
}
.pm_recipient .pill-container .input:empty::before {
.pm_recipient .pill-container .input:first-child:empty::before {
content: attr(data-no-recipients-text);
opacity: 0.5;
}