Skip to content

Instantly share code, notes, and snippets.

@juniorinvernizzi
Created January 28, 2025 21:45
Show Gist options
  • Save juniorinvernizzi/89bf2f9be6baa4d266ed058d94e5324c to your computer and use it in GitHub Desktop.
Save juniorinvernizzi/89bf2f9be6baa4d266ed058d94e5324c to your computer and use it in GitHub Desktop.
BRICKS
/*Botao e quantidade na mesma linha*/
.woocommerce-variation-add-to-cart {
display: flex !important;
flex-wrap: wrap !important;
align-items: center !important;
gap: 16px !important;
}
/*Altura do botao e da quantidade*/
%root% .cart .quantity, %root% .cart .single_add_to_cart_button, %root% a.button[data-product_id]{
height: 48px !important;
margin: 0 !important;
}
/*Arredondar botao de + de quantidade */
.action.plus{
border-radius: 0 6px 6px 0 !important;
}
/*Arredondar botao de - de quantidade */
.action.minus{
border-radius: 6px 0 0 6px !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment