fix width CSS bug by adding max-w-full
commitb09cd7e732f6ce76ebbecd701c305f3d114c110b
author~raglep-ragret <raglep-ragret@protonmail.com>
dateTue 14 Dec 2021, 19:10 (5 years ago)
parentab8c292
components/Container.js+1−1
@@ -1,7 +1,7 @@
11// Ensures the root container is always 100vw, min 100vh, and centers all children along the y-axis
22export default function Container({ children }) {
33 return (
4− <div className="flex flex-col min-h-screen w-screen items-center">
4+ <div className="flex flex-col min-h-screen w-screen max-w-full items-center">
55 {children}
66 </div>
77 );