Responsive on full pages

This commit is contained in:
Maxime Lalo 2024-07-29 18:30:39 +02:00
parent ccbca304da
commit 44f0e4620f
6 changed files with 61 additions and 9 deletions

View File

@ -4,9 +4,19 @@
display: flex;
flex-direction: column;
align-items: flex-start;
width: 472px;
width: 566px;
margin: auto;
margin-top: 24px;
@media (max-width: $screen-m) {
width: 474px;
}
@media (max-width: $screen-s) {
width: 100%;
padding: var(--spacing-md, 16px);
}
.back-arrow {
margin-bottom: 24px;
}

View File

@ -2,7 +2,17 @@
.root {
margin: 24px auto;
width: 600px;
width: 566px;
@media (max-width: $screen-m) {
width: 474px;
}
@media (max-width: $screen-s) {
width: 100%;
padding: var(--spacing-md, 16px);
}
.title {
margin-top: 24px;
}

View File

@ -1,13 +1,22 @@
@import "@Themes/constants.scss";
.root {
width: 472px;
width: 566px;
margin: 24px auto;
display: flex;
flex-direction: column;
gap: var(--spacing-xl, 32px);
@media (max-width: $screen-m) {
width: 474px;
}
@media (max-width: $screen-s) {
width: 100%;
padding: var(--spacing-md, 16px);
}
.form {
display: flex;
flex-direction: column;

View File

@ -3,14 +3,18 @@
.root {
display: flex;
flex-direction: column;
width: 472px;
width: 566px;
margin: auto;
margin-top: 24px;
gap: var(--spacing-xl, 32px);
@media (max-width: 504px) {
width: unset;
margin: 24px 16px;
@media (max-width: $screen-m) {
width: 474px;
}
@media (max-width: $screen-s) {
width: 100%;
padding: var(--spacing-md, 16px);
}
.form {

View File

@ -4,9 +4,19 @@
display: flex;
flex-direction: column;
gap: var(--spacing-xl, 32px);
width: 472px;
width: 566px;
margin: auto;
margin: 24px auto;
@media (max-width: $screen-m) {
width: 474px;
}
@media (max-width: $screen-s) {
width: 100%;
padding: var(--spacing-md, 16px);
}
.form {
.content {
display: flex;

View File

@ -1,11 +1,20 @@
.root {
width: 472px;
width: 566px;
margin: auto;
margin-top: 80px;
display: flex;
flex-direction: column;
gap: var(--spacing-xl, 32px);
@media (max-width: $screen-m) {
width: 474px;
}
@media (max-width: $screen-s) {
width: 100%;
padding: var(--spacing-md, 16px);
}
.header {
display: flex;
flex-direction: column;