ghosted: Fix spacing issues (#796)

* Fix styles

* Make indicator not show if there are no ghosted messages

This makes the plugin only be intrusive when you want it to be intrusive.

* Fix centering

* Stop 0 from being output

---------

Co-authored-by: thororen1234 <78185467+thororen1234@users.noreply.github.com>
This commit is contained in:
BlueishTint 2026-02-18 13:26:54 -08:00 • committed by GitHub
parent f235061a00
commit adcf725998
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 3 deletions

View file

@ -100,7 +100,7 @@ function BooIndicator() {
return (
<>
{settings.store.showIndicator && getGhostedChannels().length && (
{settings.store.showIndicator && getGhostedChannels().length > 0 && (
<div id={cl("container")}>
<Tooltip text={getTooltipText()} position="right">
{({ onMouseEnter, onMouseLeave }) => (

View file

@ -10,7 +10,8 @@
background-color: var(--background-primary);
height: 30px;
width: 48px;
margin-left: 8px;
margin-left: auto;
margin-right: auto;
color: var(--text-default);
fill: var(--text-default);
}
@ -153,4 +154,4 @@
.vc-boo-modal-text {
color: var(--text-muted);
}
}