From c1f1304450812fb36ee12e07585ac129a5218f6f Mon Sep 17 00:00:00 2001 From: gucci-ninja Date: Wed, 7 Apr 2021 12:10:01 -0400 Subject: [PATCH] Remove arrows on number input when adding items --- app/assets/stylesheets/darkswarm/_shop-inputs.scss | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/assets/stylesheets/darkswarm/_shop-inputs.scss b/app/assets/stylesheets/darkswarm/_shop-inputs.scss index e9bc97eb86ff..b66a4eacc367 100644 --- a/app/assets/stylesheets/darkswarm/_shop-inputs.scss +++ b/app/assets/stylesheets/darkswarm/_shop-inputs.scss @@ -117,6 +117,13 @@ button.bulk-buy-add.variant-quantity { } } +/* Hide number arrows on Chrome, Safari, Edge, Opera */ +.variant-quantity::-webkit-outer-spin-button, +.variant-quantity::-webkit-inner-spin-button { + -webkit-appearance: none; + margin: 0; +} + .variant-bulk-buy-price-summary { color: $disabled-med; margin-bottom: 1em;