mirror of
https://github.com/zulip/zulip.git
synced 2026-06-24 21:08:25 +08:00
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:
parent
e1ab6ceccc
commit
c035acce6c
@ -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;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user