@@ -22,34 +22,36 @@ export const NameView = () => {
2222
2323 const sizeClass = size === "sm" ? "text-[15px]" : size === "md" ? "text-[16px]" : "text-[17px]" ;
2424
25+ const sizeNum = size === "sm" ? 11 : size === "md" ? 12 : 13 ;
26+
2527 if ( currentSelectDetail ) {
2628 return (
2729 < div className = { `p-2 ${ sizeClass } sticky top-0 bg-content1 transition-transform-background z-50` } >
2830 < TreeItem node = { currentSelectDetail } withCollapse = { false } withSelect = { false } withKey = { false } />
2931 < ButtonGroup className = "absolute right-4 top-0" >
3032 < Tooltip content = "force scroll to select" showArrow color = "foreground" placement = "bottom-end" >
3133 < Button isIconOnly size = "sm" variant = "flat" onPress = { scrollIntoView } >
32- < Crosshair1Icon width = "11" height = "11" />
34+ < Crosshair1Icon width = { sizeNum } height = { sizeNum } />
3335 </ Button >
3436 </ Tooltip >
3537 < Tooltip content = "store fiber node" showArrow color = "foreground" placement = "bottom-end" >
3638 < Button isIconOnly size = "sm" variant = "flat" onPress = { storeFiber } >
37- < CubeIcon width = "11" height = "11" />
39+ < CubeIcon width = { sizeNum } height = { sizeNum } />
3840 </ Button >
3941 </ Tooltip >
4042 < Tooltip content = "force trigger" showArrow color = "foreground" placement = "bottom-end" >
4143 < Button isIconOnly size = "sm" variant = "flat" onPress = { triggerFiber } >
42- < PlayIcon width = "11" height = "11" />
44+ < PlayIcon width = { sizeNum } height = { sizeNum } />
4345 </ Button >
4446 </ Tooltip >
4547 < Tooltip content = "inspect dom" showArrow color = "foreground" placement = "bottom-end" >
4648 < Button isIconOnly size = "sm" variant = "flat" onPress = { inspectDom } >
47- < EyeOpenIcon width = "11" height = "11" />
49+ < EyeOpenIcon width = { sizeNum } height = { sizeNum } />
4850 </ Button >
4951 </ Tooltip >
5052 < Tooltip content = "force reload" showArrow color = "foreground" placement = "bottom-end" >
5153 < Button isIconOnly size = "sm" variant = "flat" onPress = { forceReload } >
52- < ReloadIcon width = "10" height = "10" />
54+ < ReloadIcon width = { sizeNum - 1 } height = { sizeNum - 1 } />
5355 </ Button >
5456 </ Tooltip >
5557 </ ButtonGroup >
0 commit comments