design: constrain height and prevent vertical page scroll shifting

This commit is contained in:
2026-06-25 05:51:51 +05:30
parent f4d47e5cd4
commit 8736b7ecf5

View File

@@ -248,7 +248,7 @@ export const LoginPage: React.FC = () => {
const RIT_BLUE_HOVER = 'hover:bg-[#003366]'; const RIT_BLUE_HOVER = 'hover:bg-[#003366]';
return ( return (
<div className="min-h-screen w-full bg-white flex font-sans overflow-x-hidden relative"> <div className="h-screen w-full bg-white flex font-sans overflow-y-auto lg:overflow-hidden relative">
{/* Left Column: Branding (hidden on mobile, 55% width on desktop) */} {/* Left Column: Branding (hidden on mobile, 55% width on desktop) */}
<div className="hidden lg:flex lg:w-[55%] bg-gradient-to-br from-[#003B5C] via-[#004a99] to-[#001D3D] text-white flex-col justify-between p-16 relative overflow-hidden"> <div className="hidden lg:flex lg:w-[55%] bg-gradient-to-br from-[#003B5C] via-[#004a99] to-[#001D3D] text-white flex-col justify-between p-16 relative overflow-hidden">