tophat icon indicating copy to clipboard operation
tophat copied to clipboard

Set the network monitor min width to 5em.

Open F-i-f opened this issue 1 year ago • 2 comments

This prevents the other indicators from moving left and right as the number of digits shown in the network indicator changes.

F-i-f avatar Jul 25 '22 17:07 F-i-f

Thanks for the contribution, @F-i-f! I just added some logic to limit the network speed from growing too long, and it looks like 4em is enough to prevent the number from bouncing around now. 5em seems to put a bit too much space between the icon and the value, so that's not clear they're related. Could you confirm if 4em works better for you now, and if so, update the PR?

fflewddur avatar Aug 02 '22 03:08 fflewddur

Still resizes slightly for me sometimes when using 4em but, like you, I don't like the icon too far from the numbers. I personally set mine to 4em with text-align: center.

octopushugger avatar Aug 16 '22 01:08 octopushugger