Add related products to detail page
This commit is contained in:
@@ -65,6 +65,23 @@ $dx-card-bg: #f5f3f9;
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
.related-products {
|
||||
margin-top: 48px;
|
||||
|
||||
h2 {
|
||||
margin: 0 0 20px;
|
||||
color: $dx-dark;
|
||||
font-size: 1.5rem;
|
||||
font-weight: 800;
|
||||
}
|
||||
}
|
||||
|
||||
.related-products-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
|
||||
gap: 24px;
|
||||
}
|
||||
|
||||
// Gallery: thumbnails left + main photo right
|
||||
.dx-gallery {
|
||||
display: flex;
|
||||
|
||||
Reference in New Issue
Block a user