Skip to content

Commit

Permalink
Merge pull request #491 from hotwax/pdp-mobile-view
Browse files Browse the repository at this point in the history
Fix styling for pdp mobile view
  • Loading branch information
dt2patel authored Jan 23, 2025
2 parents 5dc9cd0 + d78e0df commit ce919fd
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions src/views/ProductDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -342,32 +342,31 @@ export default defineComponent({
text-align: center;
}
.product-image > img {
width: 200px;
}
.reservation-section {
display: grid;
grid-template-columns: repeat(3, 1fr);
/* gap: 5px; */
}
.product-section {
display: grid;
grid-template-columns: auto 500px;
display: flex;
flex-wrap: wrap;
max-width: 1042px;
margin: auto;
}
.product-image {
flex: 1 1 300px;
}
.product-info {
flex: 2 1 360px;
}
@media (min-width: 720px) {
main {
padding: var(--spacer-sm);
margin: auto;
}
.product-image > img {
width: 400px;
}
}
</style>


0 comments on commit ce919fd

Please sign in to comment.