Skip to content

Commit

Permalink
remove noscript css selectors
Browse files Browse the repository at this point in the history
  • Loading branch information
lhoffbeck committed Mar 12, 2024
1 parent dde179b commit 6f33bc6
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 38 deletions.
2 changes: 1 addition & 1 deletion assets/component-cart.css
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ cart-items {
width: 100%;
}

.cart__ctas > *:not(noscript:first-child) + * {
.cart__ctas > * + * {
margin-top: 1rem;
}

Expand Down
4 changes: 0 additions & 4 deletions assets/component-facets.css
Original file line number Diff line number Diff line change
Expand Up @@ -938,10 +938,6 @@ input.mobile-facets__checkbox {
width: 50%;
}

.mobile-facets__footer noscript .button {
width: 100%;
}

.mobile-facets__sort {
display: flex;
justify-content: space-between;
Expand Down
25 changes: 0 additions & 25 deletions assets/component-localization-form.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,6 @@
}
}

@media screen and (max-width: 989px) {
noscript .localization-form:only-child {
width: 100%;
}
}

.localization-form .button {
padding: 1rem;
}
Expand Down Expand Up @@ -82,16 +76,6 @@
background: rgb(var(--color-background));
}

noscript .localization-form__select {
padding-left: 0rem;
}

@media screen and (min-width: 750px) {
noscript .localization-form__select {
min-width: 20rem;
}
}

.localization-form__select .icon-caret {
position: absolute;
content: '';
Expand All @@ -111,11 +95,6 @@ noscript .localization-form__select {
padding-bottom: 1.5rem;
}

noscript .localization-selector.link {
padding-top: 1.5rem;
padding-left: 1.5rem;
}

.disclosure .localization-form__select {
padding-top: 1.5rem;
}
Expand Down Expand Up @@ -462,7 +441,3 @@ noscript .localization-selector.link {
.menu-drawer__localization + .list-social {
margin-top: 1rem;
}

.menu-drawer__localization noscript .localization-form__select {
padding: initial;
}
6 changes: 0 additions & 6 deletions assets/section-footer.css
Original file line number Diff line number Diff line change
Expand Up @@ -280,12 +280,6 @@
}
}

@media screen and (max-width: 989px) {
.footer__localization noscript {
width: 100%;
}
}

@media screen and (min-width: 750px) {
.footer__payment {
margin-top: 1.5rem;
Expand Down
2 changes: 0 additions & 2 deletions assets/section-main-product.css
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,6 @@ a.product__text {

.product--no-media .product__title,
.product--no-media .product__text,
.product--no-media noscript .product-form__input,
.product--no-media .product__tax,
.product--no-media .product__sku,
.product--no-media shopify-payment-terms {
Expand All @@ -311,7 +310,6 @@ a.product__text {
margin-top: -1.4rem;
}

.product--no-media noscript .product-form__input,
.product--no-media .share-button {
max-width: 100%;
}
Expand Down

0 comments on commit 6f33bc6

Please sign in to comment.