Skip to content

Commit 486e5bf

Browse files
committed
style: update CSS for improved interactivity and layout responsiveness
- Add cursor pointer to breadcrumbs and product image wrappers for better user interaction - Modify saved items grid to use auto-fill for responsive column layout - Adjust product image scaling for enhanced visual presentation
1 parent 662d5e2 commit 486e5bf

2 files changed

Lines changed: 9 additions & 6 deletions

File tree

result-style.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242

4343
.breadcrumbs {
4444
width: fit-content;
45+
cursor: pointer;
4546
/* padding: 0 190px; */
4647
margin: 15px 20px 15px 190px;
4748
font-size: 16px;
@@ -1869,7 +1870,7 @@
18691870
/* Product Grid */
18701871
.saved-items-grid {
18711872
display: grid;
1872-
grid-template-columns: repeat(4, 1fr);
1873+
grid-template-columns: repeat(auto-fill, minmax(184px, 1fr));
18731874
/* gap: 10px; */
18741875
}
18751876

@@ -1897,6 +1898,7 @@
18971898

18981899
.product-image-wrappers img {
18991900
/* object-fit: contain; */
1901+
transform: scale(0.8);
19001902
mix-blend-mode: multiply;
19011903
background-image: var(--text-muted);
19021904

style.css

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ a:hover {
2222
}
2323

2424
.footer-wrapper {
25-
min-width: 100%;
25+
width: 100%;
2626
background-color: #ffffff;
2727
padding-top: 25px;
2828
}
@@ -146,7 +146,7 @@ a:hover {
146146
}
147147

148148
/* Responsive Adjustments */
149-
@media (max-width: 1100px) {
149+
/* @media (max-width: 1100px) {
150150
.footer-top {
151151
grid-template-columns: 1fr 0.5fr 0.5fr;
152152
}
@@ -155,15 +155,15 @@ a:hover {
155155
.footer-get-app {
156156
grid-column: 1 / -1;
157157
}
158-
}
158+
} */
159159

160160
@media (max-width: 768px) {
161161
.footer-top {
162162
grid-template-columns: 1fr 0.5fr;
163163
}
164164
}
165165

166-
@media (max-width: 576px) {
166+
/* @media (max-width: 576px) {
167167
168168
.footer-wrapper,
169169
.footer-top {
@@ -199,7 +199,7 @@ a:hover {
199199
padding-top: 20px;
200200
padding-bottom: 20px;
201201
}
202-
}
202+
} */
203203

204204
.newsletter-section {
205205
background-color: #EFF2F4;
@@ -1513,6 +1513,7 @@ a:hover {
15131513
padding: 0;
15141514
display: flex;
15151515
align-items: center;
1516+
cursor: pointer;
15161517
}
15171518

15181519
.breadcrumb-item {

0 commit comments

Comments
 (0)