forked from M3-Academy/m3-academy-template-checkout
feat(checkout): adiciona css em scss para mobile e desktop
This commit is contained in:
parent
f9c8cd4e33
commit
eac6b55258
@ -31,10 +31,7 @@ export default class CheckoutUI {
|
|||||||
|
|
||||||
toggleFooterDropdown(event) {
|
toggleFooterDropdown(event) {
|
||||||
event.target.classList.toggle("closed");
|
event.target.classList.toggle("closed");
|
||||||
|
event.target.nextElementSibling.classList.toggle("dropdown__content--closed");
|
||||||
event.target.nextElementSibling.classList.toggle(
|
|
||||||
"dropdown__content--closed"
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
init() {
|
init() {
|
||||||
@ -56,14 +53,7 @@ export default class CheckoutUI {
|
|||||||
resizeImages() {
|
resizeImages() {
|
||||||
$(".product-image img").each((i, el) => {
|
$(".product-image img").each((i, el) => {
|
||||||
const $el = $(el);
|
const $el = $(el);
|
||||||
$el.attr(
|
$el.attr("src", alterarTamanhoImagemSrcVtex($el.attr("src"), this.width, this.height));
|
||||||
"src",
|
|
||||||
alterarTamanhoImagemSrcVtex(
|
|
||||||
$el.attr("src"),
|
|
||||||
this.width,
|
|
||||||
this.height
|
|
||||||
)
|
|
||||||
);
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user