mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
reduce explicit indicator spacing slightly
This commit is contained in:
@@ -39,3 +39,7 @@
|
||||
.muted {
|
||||
opacity: 0.85;
|
||||
}
|
||||
|
||||
.with-space {
|
||||
padding-right: var(--theme-spacing-sm);
|
||||
}
|
||||
|
||||
@@ -32,10 +32,12 @@ export const ExplicitIndicator = ({
|
||||
return (
|
||||
<span
|
||||
aria-label={explicitStatus === ExplicitStatus.EXPLICIT ? 'Explicit' : 'Clean'}
|
||||
className={clsx(styles.root, styles[`size-${size}`], className)}
|
||||
className={clsx(styles.root, styles[`size-${size}`], className, {
|
||||
[styles.withSpace]: withSpace,
|
||||
})}
|
||||
{...rest}
|
||||
>
|
||||
{withSpace ? `${symbol} ` : symbol}
|
||||
{symbol}
|
||||
</span>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user