One CSS Trick to Eliminate Scrollbar Layout Shifts, by @amitmerchant.bsky.social:
https://www.amitmerchant.com/one-css-trick-to-eliminate-scrollbar-layout-shifts/

One CSS Trick to Eliminate Scrollbar Layout Shifts
When a webpage’s content exceeds the viewport height, browsers typically introduce a vertical scrollbar. This can lead to layout shifts, especially when navigating between pages or toggling content visibility, as the presence or absence of the scrollbar alters the available width for content.






