@@ -74,8 +74,8 @@ export const SystemMonitorWidget = ({ config }: SystemMonitorWidgetProps) => {
7474 // This makes even tiny network activity visible
7575 const normalizedMbps = bytesPerSecond > 0 ? Math . max ( mbps , 15 ) : 0 ;
7676
77- // If less than 1 MB /s, show in KB/s
78- if ( bytesPerSecond < 1024 * 1024 ) {
77+ // If less than 1000 KB /s, show in KB/s
78+ if ( bytesPerSecond < 1000 * 1024 ) {
7979 return {
8080 value : Math . round ( bytesPerSecond / 1024 ) , // Convert to KB/s for display as whole number
8181 unit : 'KB/s' ,
@@ -91,11 +91,7 @@ export const SystemMonitorWidget = ({ config }: SystemMonitorWidgetProps) => {
9191 } ;
9292 } ;
9393
94- // Format number for display (add K suffix for thousands)
9594 const formatNumberForDisplay = ( num : number ) : string => {
96- if ( num >= 1000 ) {
97- return `${ Math . round ( num / 1000 ) } K` ;
98- }
9995 return Math . round ( num ) . toString ( ) ;
10096 } ;
10197
@@ -234,7 +230,7 @@ export const SystemMonitorWidget = ({ config }: SystemMonitorWidgetProps) => {
234230 alignItems : 'center' ,
235231 height : '100%'
236232 } } >
237- < ArrowUpward sx = { { color : 'text.primary' , fontSize : { xs : 13 , sm : 14 , md : 17 , lg : 20 } } } />
233+ < ArrowUpward sx = { { color : 'text.primary' , fontSize : { xs : 13 , sm : 14 , md : 17 , lg : 17 , xl : 18 } } } />
238234 </ Box >
239235 < Box sx = { {
240236 display : 'flex' ,
@@ -246,7 +242,7 @@ export const SystemMonitorWidget = ({ config }: SystemMonitorWidgetProps) => {
246242 fontWeight = 'medium'
247243 sx = { {
248244 width : '100%' ,
249- fontSize : { xs : 10 , sm : 10 , md : 12 , lg : 14 } ,
245+ fontSize : { xs : 10 , sm : 10 , md : 12 , lg : 12 , xl : 14 } ,
250246 lineHeight : 1.2 ,
251247 whiteSpace : 'nowrap' ,
252248 display : 'block' ,
@@ -264,7 +260,7 @@ export const SystemMonitorWidget = ({ config }: SystemMonitorWidgetProps) => {
264260 alignItems : 'center' ,
265261 height : '100%'
266262 } } >
267- < ArrowDownward sx = { { color : 'text.primary' , fontSize : { xs : 13 , sm : 14 , md : 17 , lg : 20 } } } />
263+ < ArrowDownward sx = { { color : 'text.primary' , fontSize : { xs : 13 , sm : 14 , md : 17 , lg : 17 , xl : 18 } } } />
268264 </ Box >
269265 < Box sx = { {
270266 display : 'flex' ,
@@ -276,7 +272,7 @@ export const SystemMonitorWidget = ({ config }: SystemMonitorWidgetProps) => {
276272 fontWeight = 'medium'
277273 sx = { {
278274 width : '100%' ,
279- fontSize : { xs : 10 , sm : 10 , md : 12 , lg : 14 } ,
275+ fontSize : { xs : 10 , sm : 10 , md : 12 , lg : 12 , xl : 14 } ,
280276 lineHeight : 1.2 ,
281277 whiteSpace : 'nowrap' ,
282278 display : 'block' ,
0 commit comments