Skip to content

Commit

Permalink
lint: related PrestaShop#32218 - lint scss
Browse files Browse the repository at this point in the history
  • Loading branch information
mattgoud committed Mar 27, 2024
1 parent 761374e commit c89c9c5
Showing 1 changed file with 13 additions and 22 deletions.
35 changes: 13 additions & 22 deletions admin-dev/themes/new-theme/scss/pages/product/product_page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -521,15 +521,12 @@ $product-page-padding-bottom: 80px !default;
margin-bottom: 1.25rem;
}

@include media-breakpoint-up(md) {
@include media-breakpoint-up("md") {

&.select-widget,
.money-type {
max-width: 20rem;
}

&.select-widget {
max-width: 20rem;
}
}

@include media-breakpoint-down("sm") {
Expand Down Expand Up @@ -2675,8 +2672,8 @@ $mobile-menu-height: 2.6rem !default;
.header-name {
position: absolute;
top: 0;
margin-left: calc($product-cover-mobile-size + 0.5rem);
width: calc(100% - $product-cover-mobile-size - 1rem);
margin-left: calc($product-cover-mobile-size + 0.5rem);

label {
margin-bottom: 0.2rem;
Expand Down Expand Up @@ -2821,9 +2818,7 @@ $mobile-menu-height: 2.6rem !default;
}

.customization-field-switch{

.ps-switch {

.slide-button {
right: 0;
}
Expand Down Expand Up @@ -2899,15 +2894,13 @@ $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 {
padding: 0.5rem 0;
margin-left: -2px;
padding: .5rem 0;
}
}
}
Expand All @@ -2921,10 +2914,9 @@ $mobile-menu-height: 2.6rem !default;
}

#product_pricing {

#product_pricing_retail_price {
flex-direction: column;
gap: 1rem;
gap: 1rem;

.retail-price-tax-excluded {
margin-left: 3rem;
Expand All @@ -2951,16 +2943,16 @@ $mobile-menu-height: 2.6rem !default;
}

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

#product_details {

#product_details_features_feature_values {
margin-bottom: 0;
}

.product-feature {
margin-bottom: 1rem;
}
Expand All @@ -2972,14 +2964,14 @@ $mobile-menu-height: 2.6rem !default;
max-width: calc(100vw - 30px);
}
}

.ps-checkboxes-dropdown .dropdown-item .md-checkbox-container {
overflow: hidden;
text-overflow: ellipsis;
}
}

#product_options{

#product_options_product_suppliers > .row > .col-sm {
max-width: calc(100% - 30px);
overflow: auto;
Expand All @@ -2994,8 +2986,7 @@ $mobile-menu-height: 2.6rem !default;
.form-contenttab > div > .form-group {
margin-bottom: 2rem;
}
}
#product-tabs-content {

.form-contenttab > div > .form-group.inline-switch-widget {
margin-bottom: 1rem;
}
Expand All @@ -3005,6 +2996,7 @@ $mobile-menu-height: 2.6rem !default;
.form-control-label {
margin: 1rem 0;
}

.category-tree-footer {
display: flex;
gap: 1rem;
Expand All @@ -3016,12 +3008,11 @@ $mobile-menu-height: 2.6rem !default;
}

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


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

0 comments on commit c89c9c5

Please sign in to comment.