Adjusting size of quantity button in cart drawer

Adjusting size of quantity button in cart drawer

nahuel_123
Excursionist
16 0 2

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?

nahuel_123_0-1736373885335.png

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;
}

Replies 4 (4)

Mateen_Asghar
Shopify Partner
43 1 7

Hi @nahuel_123,
The password you shared is incorrect, can you please share correct password?

Mateen Asghar | Shopify Expert & Partner
Optimizing Shopify Plus stores with 10+ years of web development expertise.
Got your answer? Mark it as an Accepted Solution to help others.
 Reach me at: mateen@100xelevate.com | Visit: 100xelevate.com for quick quotes and expert support.
nahuel_123
Excursionist
16 0 2

Sorry, here it is: skawts

DaisyVo
Shopify Partner
4419 490 583

Hi @nahuel_123 

 

The pass is wrong, please share it again

 

Best,

 

Daisy

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Avada SEO & Image Optimizer - The #1 SEO solution
nahuel_123
Excursionist
16 0 2

Sorry, here it is: skawts