Match original sublabel style for CPU core count display
This commit is contained in:
parent
46f90e1585
commit
e2cdcb7b3e
1 changed files with 1 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ export function EnhancedCPUBar(props: EnhancedCPUBarProps) {
|
||||||
<span class="absolute inset-0 flex items-center justify-center text-[10px] font-semibold text-gray-700 dark:text-gray-100 leading-none pointer-events-none">
|
<span class="absolute inset-0 flex items-center justify-center text-[10px] font-semibold text-gray-700 dark:text-gray-100 leading-none pointer-events-none">
|
||||||
{formatPercent(props.usage)}
|
{formatPercent(props.usage)}
|
||||||
<Show when={props.cores}>
|
<Show when={props.cores}>
|
||||||
<span class="ml-1 text-[9px] font-normal opacity-70">({props.cores}c)</span>
|
<span class="font-normal text-gray-500 dark:text-gray-300 ml-1">({props.cores} cores)</span>
|
||||||
</Show>
|
</Show>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue