Fix WhosWatching Text
Some checks failed
Release / Build Equicord (push) Has been cancelled
Sync to Codeberg / Sync Codeberg and Github (push) Has been cancelled
Test / Test (push) Has been cancelled

This commit is contained in:
thororen1234 2025-03-15 21:37:00 -04:00
parent edacc7efa0
commit dc114666a8
No known key found for this signature in database

View file

@ -118,11 +118,10 @@ export default definePlugin({
return (
<>
<div {...props}>{props.children}</div>
<div className={classes(cl("spectators_panel"), Margins.top8)}>
<div className={classes(cl("spectators_panel"), Margins.top8)} style={{ marginLeft: 8 }}>
<Forms.FormTitle tag="h3" style={{ marginTop: 8, marginBottom: 0, textTransform: "uppercase" }}>
{getIntlMessage("SPECTATORS", { numViewers: userIds.length })}
</Forms.FormTitle>
<div style={{ marginLeft: 8 }}>
{users.length ?
<>
<UserSummaryItem
@ -151,7 +150,6 @@ export default definePlugin({
: <Forms.FormText>No spectators</Forms.FormText>
}
</div>
</div>
</>
);
}),