fix: "scrollbar-gutter: stable" on html to prevent layout shift#11413
fix: "scrollbar-gutter: stable" on html to prevent layout shift#11413PeerRich merged 1 commit intocalcom:mainfrom thepradipvc:bug/layout-shift
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
@Chaudharypradip is attempting to deploy a commit to the cal Team on Vercel. A member of the Team first needs to authorize it. |
|
Thank you for following the naming conventions! 🙏 |
📦 Next.js Bundle Analysis for @calcom/webThis analysis was generated by the Next.js Bundle Analysis action. 🤖 This PR introduced no changes to the JavaScript bundle! 🙌 |
|
will this have side effects given its globally applied to HTML? |
|
No, this shouldn't cause any side effects. On pages with a substantial amount of content, the scrollbar is already present, so this change won't have any visible impact. On pages with less content, it will reserve space for the scrollbar, ensuring that if the page's content exceeds the viewport size, the appearance of the scrollbar won't disrupt the layout (layout shift). |
What does this PR do?
Added CSS to prevent layout shift.
Fixes #11398
Mandatory Tasks