Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
4 changes: 4 additions & 0 deletions src/common/components/GoogleButton.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ const Divider = styled.div`
padding: 0 12px;
color: #666;
font-size: 14px;

@media screen and (max-width: 768px) {
font-size: 12px;
}
}
`;

Expand Down
10 changes: 10 additions & 0 deletions src/common/components/form/Form.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,21 @@ export const Form = styled.form`
text-align: flex-start;
box-shadow: 4px 4px 8px 0px rgba(0, 0, 0, 0.25);
background-color: #ffffff;

@media screen and (max-width: 768px) {
height: 100%;
padding: 40px;
box-shadow: none;
}
`;

export const FormTitle = styled.h2`
margin: 0;
font-size: 1.8rem;
margin-bottom: 6px;
font-family: 'PoppinsBold';

@media screen and (max-width: 768px) {
font-size: 1.4rem;
}
`;
24 changes: 24 additions & 0 deletions src/common/components/form/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ export const InputName = styled.h3`
font-weight: normal;
font-size: 1rem;
margin-bottom: 4px;

@media screen and (max-width: 768px) {
font-size: 0.8rem;
margin-bottom: 2px;
}
`;
export const InputTitle = styled.span`
margin-right: 2px;
Expand All @@ -36,6 +41,11 @@ export const StyledInput = styled.input`
&::placeholder {
color: #aaa;
}

@media screen and (max-width: 768px) {
font-size: 0.8rem;
padding: 4px 0;
}
`;

export const StyledTextArea = styled.textarea`
Expand Down Expand Up @@ -85,6 +95,11 @@ export const IconContainer = styled.div`
top: 8px;
background-color: var(--white);
cursor: pointer;

@media screen and (max-width: 768px) {
top: 0;
height: 80%;
}
`;

export const StyledButton = styled(Button.Primary)`
Expand All @@ -107,6 +122,15 @@ export const StyledButton = styled(Button.Primary)`
justify-content: center;
gap: 8px;
min-height: 40px; // Add this to prevent button size changes

@media screen and (max-width: 768px) {
min-height: 30px;
}
}

@media screen and (max-width: 768px) {
font-size: 0.8rem;
margin-top: 10px;
}
`;

Expand Down
19 changes: 19 additions & 0 deletions src/pages/account/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ export const StyledForm = styled.div`
margin-top: 50px;
background-color: #ffffff;
font-family: 'PoppinsLight';

@media screen and (max-width: 768px) {
width: 100%;
margin: 0;
height: 100%;
`;

export const StyledInput = styled.input`
Expand Down Expand Up @@ -47,6 +52,10 @@ export const StyledPage = styled.div`
font-family: 'PoppinsLight';
padding-top: 25px;
padding-bottom: 100px;

@media screen and (max-width: 768px) {
padding: 0;
}
`;

export const StyledButton = styled(Button.Primary)`
Expand All @@ -70,6 +79,11 @@ export const StyledLink = styled(Link)`
&:hover {
text-decoration: underline;
}

@media screen and (max-width: 768px) {
font-size: 0.7rem;
margin-top: 0.5rem;
}
`;

export const StyledLinkCenter = styled(Link)`
Expand All @@ -84,4 +98,9 @@ export const StyledLinkCenter = styled(Link)`
&:hover {
text-decoration: underline;
}

@media screen and (max-width: 768px) {
font-size: 0.7rem;
margin-top: 0.5rem;
}
`;