Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tdmrhn/119c7d7b705a02716f2a6c5d59c00fdb to your computer and use it in GitHub Desktop.
Save tdmrhn/119c7d7b705a02716f2a6c5d59c00fdb to your computer and use it in GitHub Desktop.
Blocksy 2 Woo Quantity Type 2 Remove Button Spaces
.quantity[data-type="type-2"] .ct-increase {
inset-inline-end: 0;
}
.quantity[data-type="type-2"] .ct-decrease {
inset-inline-start: 0;
}
.quantity[data-type="type-2"] .ct-increase, .quantity[data-type="type-2"] .ct-decrease {
top: 0;
width: calc(var(--quantity-height, 55px)/1.3);
height: 100%;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment