All things Shopify and commerce
Hello,
After playing with the code for a while I was able to reduce the width of the quantity buttons of my cart drawer, but I haven't managed to reduce the size. Any ideas?
My website is jajamoon.com and pasw is skwats
This is the code I added to make the buttons with less width;
.drawer.active .quantity {
width: calc(9rem / var(--font-body-scale) + var(--inputs-border-width) * 2);
}
.drawer.active .quantity__button {
width: calc(3rem / var(--font-body-scale));
}
.drawer.active .quantity__input {
width: 100%;
max-width: 29px;
flex-grow: 1;
-webkit-appearance: none;
appearance: none;
}
Hi @nahuel_123,
The password you shared is incorrect, can you please share correct password?
Sorry, here it is: skawts
Hi @nahuel_123
The pass is wrong, please share it again
Best,
Daisy
Sorry, here it is: skawts
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025