Skip to content

Commit

Permalink
OV-84: * Make auth layout responsive
Browse files Browse the repository at this point in the history
  • Loading branch information
lfelix3011 committed Aug 29, 2024
1 parent 610406d commit c49beb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/bundles/auth/pages/auth.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const Auth: React.FC = () => {
};

return (
<SimpleGrid columns={2} height="100vh">
<SimpleGrid columns={{ base: 1, sm: 2 }} height="100vh">
{/* TODO: Replace with valid loader */}
{dataStatus === DataStatus.PENDING && (
<p style={{ position: 'absolute', top: 0, color: 'white' }}>
Expand All @@ -64,7 +64,7 @@ const Auth: React.FC = () => {
)}
<Center bgColor="background.600">{getScreen(pathname)}</Center>
{/* TODO: Add logo */}
<Center bgColor="background.900">LOGO</Center>
<Center bgColor="background.900" display={{ base: 'none', sm: 'flex' }}>LOGO</Center>
</SimpleGrid>
);
};
Expand Down

0 comments on commit c49beb9

Please sign in to comment.