mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-16 18:07:02 -04:00
Fix WhosWatching Text
This commit is contained in:
parent
edacc7efa0
commit
dc114666a8
1 changed files with 28 additions and 30 deletions
|
@ -118,11 +118,10 @@ export default definePlugin({
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<div {...props}>{props.children}</div>
|
<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" }}>
|
<Forms.FormTitle tag="h3" style={{ marginTop: 8, marginBottom: 0, textTransform: "uppercase" }}>
|
||||||
{getIntlMessage("SPECTATORS", { numViewers: userIds.length })}
|
{getIntlMessage("SPECTATORS", { numViewers: userIds.length })}
|
||||||
</Forms.FormTitle>
|
</Forms.FormTitle>
|
||||||
<div style={{ marginLeft: 8 }}>
|
|
||||||
{users.length ?
|
{users.length ?
|
||||||
<>
|
<>
|
||||||
<UserSummaryItem
|
<UserSummaryItem
|
||||||
|
@ -151,7 +150,6 @@ export default definePlugin({
|
||||||
: <Forms.FormText>No spectators</Forms.FormText>
|
: <Forms.FormText>No spectators</Forms.FormText>
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}),
|
}),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue