Fix kcl errors indicator not scaling with multi-digit count (#6864)

Fixes #6847
This commit is contained in:
Pierre Jacquier
2025-05-12 08:36:09 -07:00
committed by GitHub
parent 270436f404
commit 78e4f43708
2 changed files with 2 additions and 2 deletions

View File

@ -184,7 +184,7 @@ export const sidebarPanes: SidebarPane[] = [
// editorManager.scrollToFirstErrorDiagnosticIfExists() // editorManager.scrollToFirstErrorDiagnosticIfExists()
}, },
className: className:
'absolute m-0 p-0 bottom-4 left-4 w-3 h-3 flex items-center justify-center text-[9px] font-semibold text-white bg-primary hue-rotate-90 rounded-full border border-chalkboard-10 dark:border-chalkboard-80 z-50 hover:cursor-pointer hover:scale-[2] transition-transform duration-200', 'absolute m-0 p-0 bottom-4 left-4 min-w-3 h-3 flex items-center justify-center text-[9px] font-semibold text-white bg-primary hue-rotate-90 rounded-full border border-chalkboard-10 dark:border-chalkboard-80 z-50 hover:cursor-pointer hover:scale-[2] transition-transform duration-200',
title: 'Project files have runtime errors', title: 'Project files have runtime errors',
}, },
}, },

View File

@ -402,7 +402,7 @@ function ModelingPaneButton({
className={ className={
showBadge.className showBadge.className
? showBadge.className ? showBadge.className
: 'absolute m-0 p-0 bottom-4 left-4 w-3 h-3 flex items-center justify-center text-[10px] font-semibold text-white bg-primary hue-rotate-90 rounded-full border border-chalkboard-10 dark:border-chalkboard-80 z-50 hover:cursor-pointer hover:scale-[2] transition-transform duration-200' : 'absolute m-0 p-0 bottom-4 left-4 min-w-3 h-3 flex items-center justify-center text-[10px] font-semibold text-white bg-primary hue-rotate-90 rounded-full border border-chalkboard-10 dark:border-chalkboard-80 z-50 hover:cursor-pointer hover:scale-[2] transition-transform duration-200'
} }
onClick={showBadge.onClick} onClick={showBadge.onClick}
title={ title={