Watch Out for Layout Shifts with ‘ch’ Units
In our case, we were using
chunits to define our page layout. This meant that our post content was equal to
50chunits (or the width of fifty
0characters all lined up in a row).
But the width of the
0character differs from font to font. So when our web font was swapped, the width of
1chchanged, which impacted our layout […]