mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 17:36:27 +00:00
compose: Offer narrow to compose target button for private messages.
We already offer this for stream messages, but had been blocked on adding it for private messages for visual design reasons. The dark theme had a natural place to put this, since it had a box around the private message recipient box; but the light theme didn't. We add a border to the light theme private message recipient box to allow us to add the same button to private messages, and implement that button. Fixes #21962.
This commit is contained in:
@@ -92,7 +92,7 @@ export function clear_preview_area() {
|
||||
autosize.update($("#compose-textarea"));
|
||||
}
|
||||
|
||||
export function update_fade() {
|
||||
function update_fade() {
|
||||
if (!compose_state.composing()) {
|
||||
return;
|
||||
}
|
||||
@@ -103,7 +103,7 @@ export function update_fade() {
|
||||
compose_fade.update_all();
|
||||
}
|
||||
|
||||
function update_on_recipient_change() {
|
||||
export function update_on_recipient_change() {
|
||||
update_fade();
|
||||
compose_actions.update_narrow_to_recipient_visibility();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user