Skip to content

Commit

Permalink
style: [page-product] PrestaShop#32218 - add/remove some margin
Browse files Browse the repository at this point in the history
  • Loading branch information
mattgoud committed Mar 27, 2024
1 parent 051849d commit 761374e
Showing 1 changed file with 47 additions and 8 deletions.
55 changes: 47 additions & 8 deletions admin-dev/themes/new-theme/scss/pages/product/product_page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -512,9 +512,6 @@ $product-page-padding-bottom: 80px !default;
}

.form-group {
> .alert:not(.alert-unavailable) {
max-width: 47.65rem;
}

> .help-box {
margin-top: 0.6rem;
Expand Down Expand Up @@ -2510,11 +2507,6 @@ $product-page-padding-bottom: 80px !default;
}
}

h2 {
padding-top: 0.5rem;
margin-bottom: 0.5rem;
}

.form-group.row,
.alert-unavailable {
margin-bottom: 1rem;
Expand Down Expand Up @@ -2906,10 +2898,26 @@ $mobile-menu-height: 2.6rem !default;
}

@include media-breakpoint-down(md) {
#product_shipping{

#product_shipping_delivery_time_note_type {

.form-check-radio .form-check-label {
flex-wrap: wrap;

a {
margin-left: -2px;
padding: .5rem 0;
}
}
}
}

#product_stock {
#product_stock_quantities_delta_quantity {
flex-direction: column;
}

}

#product_pricing {
Expand Down Expand Up @@ -2942,6 +2950,19 @@ $mobile-menu-height: 2.6rem !default;
}
}

.specific-price-priorities > div {
margin: .5rem 0;
}
}
}

#product_details {

#product_details_features_feature_values {
margin-bottom: 0;
}
.product-feature {
margin-bottom: 1rem;
}
}

Expand All @@ -2958,10 +2979,12 @@ $mobile-menu-height: 2.6rem !default;
}

#product_options{

#product_options_product_suppliers > .row > .col-sm {
max-width: calc(100% - 30px);
overflow: auto;
}

#product_options_product_suppliers table {
min-width: max-content;
}
Expand All @@ -2972,6 +2995,11 @@ $mobile-menu-height: 2.6rem !default;
margin-bottom: 2rem;
}
}
#product-tabs-content {
.form-contenttab > div > .form-group.inline-switch-widget {
margin-bottom: 1rem;
}
}

#categories-modal-content{
.form-control-label {
Expand All @@ -2987,10 +3015,21 @@ $mobile-menu-height: 2.6rem !default;
}
}

#product_stock_availability > .form-group {
display: flex;
flex-direction: column;
justify-content: flex-end;
}


.form-horizontal span.ps-switch:not(.ps-switch-lg) {
margin-top: 7px;
}

.small.font-secondary a {
margin-left: -2px;
}

@media only screen and (min-width: 320px) and (max-width: 1450px) {
// No more arrows in tabs
.product-page-v2 {
Expand Down

0 comments on commit 761374e

Please sign in to comment.