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