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:
parent
f235061a00
commit
adcf725998
2 changed files with 4 additions and 3 deletions
|
|
@ -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 }) => (
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue