Fix kcl errors indicator not scaling with multi-digit count (#6864)
Fixes #6847
This commit is contained in:
@ -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',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -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={
|
||||||
|
Reference in New Issue
Block a user