Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,14 @@ export const Wrapper = styled.div<{ $flex: Display }>`

@media ${({ theme }) => theme.mediaQuery.tablet} {
grid-template-columns: ${({ $flex }) =>
$flex ? '' : 'repeat(auto-fit, minmax(40%, 1fr))'};
$flex === 'grid' && 'repeat(auto-fit, minmax(40%, 1fr))'};
gap: 2rem;
}

@media ${({ theme }) => theme.mediaQuery.mobile} {
width: 100%;
grid-template-columns: ${({ $flex }) =>
$flex ? '' : 'repeat(auto-fit, minmax(50%, 1fr))'};
$flex === 'grid' && 'repeat(auto-fit, minmax(50%, 1fr))'};
gap: 1rem;
}
`;
12 changes: 7 additions & 5 deletions src/pages/login/Login.styled.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const Container = styled.div`
width: 100%;
height: 100vh;
max-width: ${({ theme }) => theme.layout.width.desktop};
min-width: 310px;
min-width: 22rem;
margin: 0 auto;
flex-direction: column;
align-items: center;
Expand All @@ -26,20 +26,22 @@ export const Container = styled.div`
}

button {
max-width: 310px;
max-width: 22rem;
width: 100%;
padding: 0.8rem 0.625rem;
font-weight: 600;
}
`;

export const LogoH1 = styled.h1``;

export const MoveHomeLink = styled(Link)`
padding-bottom: 2rem;
`;

export const InputContainer = styled.div`
display: flex;
min-width: 310px;
min-width: 22rem;
gap: 0.6rem;

button {
Expand All @@ -51,7 +53,7 @@ export const InputContainer = styled.div`
`;

export const InputWrapper = styled.div`
max-width: 310px;
max-width: 22rem;
width: inherit;
margin-bottom: 1.875rem;
position: relative;
Expand All @@ -69,7 +71,7 @@ export const ErrorMessage = styled.span<{ message?: string }>`

export const WrapperPassword = styled.div`
width: 100%;
max-width: 310px;
max-width: 22rem;
display: flex;
justify-content: space-between;
font-size: 0.8rem;
Expand Down