Skip to content

Commit

Permalink
Avoid the horizontal scroll visible on Firefox #148 (#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
catalinred authored Jan 20, 2025
1 parent 82a3c38 commit ed4f061
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ import { getPage } from "@/lib/builder/page/api";
import Page from "./[...slug]";

export default function Home(props) {
return <Page {...props} />;
return (
<div className="overflow-hidden">
<Page {...props} />
</div>
);
}

export const getStaticProps = async ({ locale }) => {
Expand Down

0 comments on commit ed4f061

Please sign in to comment.