Tweak mute indicator positioning (#4080)

This PR tweaks the positioning of the mute indicators so that they cover
a little bit less of the avatar:

#### Before

<img width="305" alt="Screenshot 2024-01-16 at 6 32 51 PM"
src="https://github.com/zed-industries/zed/assets/1486634/3f6ad2f4-2c3e-498b-97a4-8b522f3ceda9">

#### After

<img width="311" alt="Screenshot 2024-01-16 at 6 26 48 PM"
src="https://github.com/zed-industries/zed/assets/1486634/37161557-084d-4b69-b61f-a0958e8e867c">

(It's a bit hard to tell in the screenshot, but there is a gap between
the bottom of the indicator and the top of the color ribbon).

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2024-01-16 18:49:37 -05:00 committed by GitHub
parent 9cd81ad255
commit 26a3f68080
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -37,8 +37,8 @@ impl RenderOnce for AvatarAudioStatusIndicator {
div()
.absolute()
.bottom(rems(-1. / 16.))
.right(rems(-4. / 16.))
.bottom(rems(-3. / 16.))
.right(rems(-6. / 16.))
.w(width_in_px + padding_x)
.h(icon_size.rems())
.child(