~/leohuynh.dev
README.md
Astroindex.astroAstro[...slug].astro
Astroindex.astroAstro[...slug].astro
Astroindex.astroAstro[...slug].astro
whoami.astrotakes.mdshelf.astrouses.astroheatmap.astro
builds.astro
topics.astro
guestbook.astro
llms.json
stats.umami
README.md
coding.md commit.md communication.md never-auto-commit.md pull-requests.md spec-driven-development.md
SKILL.md
SKILL.md
SKILL.md
SKILL.md
SKILL.md
SKILL.md
SKILL.md
SKILL.md
SKILL.md
SKILL.md
SKILL.md
claude-code-notifier.shsettings.jsonstatusline.sh
copilot-cli-notifier.shsettings.json
oh-my-opencode.jsonsettings.jsontui.json
extensions.txtkeybindings.jsonsettings.json
EditorConfig.editorconfig .gitconfig .gitignore.zshrc
README.mdtravel-egypt.tsx
README.mdtopics.astro
~/leohuynh.dev/topics/layout-shift

#layout-shift

Posts and snippets tagged #layout-shift.

rss feed ↗

posts

2021-08-16

Prevent layout shift when toggling scrollbar on Window

When toggling the scrollbar on the Window, the layout shifts. This is because the scrollbar is added to the Window. How to prevent this with CSS?

—loading…loading

git grass

last 28 days

github today

contribs
LOCs
commits / prs / issues

token burn

all-time
—tokensllms.json ↗loading…
today—

by models

recent activity

loading activity…on demand
Checkout version
mainAstro × bun✓v3Next.js 15 × pnpmv2Next.js 14 × npmv1Gatsby × yarn
#5f54996—
Hanoi --:--