Skip to content

Commit

Permalink
proceed fixed (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hemu21 authored May 14, 2024
1 parent 5589469 commit c4befc3
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/pages/cart/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ const Cart = () => {
)}
<section className="cartSection mb-5">
<div className="container-fluid">
<div className="row">
<div className="col-md-8">
<div className={context.windowWidth>770 && "row"} >
<div className={`${context.windowWidth<770? "col-md-full":"col-md-7"}`}>
<div className="d-flex align-items-center w-100">
<div className="left">
<h1 className="hd mb-0">Your Cart</h1>
Expand Down
7 changes: 7 additions & 0 deletions src/pages/cart/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
width: 100%;
height: auto;
padding: 10px 0px;
display: flex;
justify-content: center;
}
.cartSection .clearCart {
font-weight: 600;
Expand Down Expand Up @@ -59,8 +61,13 @@

.cartRightBox {
padding-left: 100px;
padding-bottom: 30px;
height: auto;
}
.cartRightBox .card {
position: sticky;
top: 150px;
height: auto;
margin: auto;
max-width: 430px;
}
4 changes: 2 additions & 2 deletions src/pages/wishList/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ const WishList = () => {
)}
<section className="cartSection mb-5">
<div className="container-fluid">
<div className="row">
<div className="col-md-8">
<div className={context.windowWidth>770 && "row"}>
<div className={`${context.windowWidth<770? "col-md-full":"col-md-7"}`}>
<div className="d-flex align-items-center w-100">
<div className="left">
<h1 className="hd mb-0">Your Wishlist</h1>
Expand Down
7 changes: 7 additions & 0 deletions src/pages/wishList/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
width: 100%;
height: auto;
padding: 10px 0px;
display: flex;
justify-content: center;
}
.cartSection .clearCart {
font-weight: 600;
Expand Down Expand Up @@ -59,8 +61,13 @@

.cartRightBox {
padding-left: 100px;
padding-bottom: 30px;
height: auto;
}
.cartRightBox .card {
position: sticky;
top: 150px;
height: auto;
margin: auto;
max-width: 430px;
}

0 comments on commit c4befc3

Please sign in to comment.