Preventing Layout Shifts in Status Text with CSS Grid

from blog Aleksandr Hovhannisyan, | ↗ original
Use this trick with CSS Grid to prevent layout shifts when swapping text in status indicators.