Skip to content

Commit

Permalink
📱 cart checkout success pages
Browse files Browse the repository at this point in the history
fixed responsivity on with under 500px
  • Loading branch information
fl4viooliveira committed May 1, 2022
1 parent 760f5c7 commit 2ae92ed
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 3 deletions.
2 changes: 1 addition & 1 deletion frontend/styles/Cart.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
/* flex-direction: column; */
}
}
@media (max-width: 400px) {
@media (max-width: 500px) {
.container {
width: calc(100% - 20px);
margin: 10px auto;
Expand Down
13 changes: 11 additions & 2 deletions frontend/styles/Checkout.module.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
.containerBox {
display: flex;
width: calc(100% - 140px);
/* width: calc(100% - 140px); */
height: fit-content;
margin: 30px auto;
margin: 0px auto;
color: #ffff;
flex-direction: column;
}
Expand Down Expand Up @@ -72,7 +72,16 @@
margin: 15px 0;
}
@media (max-width: 900px) {
.containerBox {
width: calc(100% - 20px);
}
.mainBox {
flex-wrap: wrap;
}
}
@media (max-width: 500px) {
.mainBox {
width: calc(100% - 20px);
margin: 10px auto;
}
}
10 changes: 10 additions & 0 deletions frontend/styles/Success.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,19 @@
}
.container h1 {
margin: 15px 0;
text-align: center;
}
.container a {
margin: 15px 0;
color: #ffff;
font-size: 25px;
}
@media (max-width: 500px) {
.container {
width: calc(100% - 20px);
margin: 10px auto;
}
.container h1 {
font-size: 20px;
}
}

0 comments on commit 2ae92ed

Please sign in to comment.