feat(extra-features): Standardize touchspin

bootstrap touchspin default styles
This commit is contained in:
2026-01-15 16:37:59 +01:00
parent 16b4475db9
commit b968033b17
2 changed files with 32 additions and 1 deletions

View File

@@ -14,3 +14,34 @@ $btn-color: (
color: $color !important;
}
}
// bootstrap touchspin. Edit icons under js/theme/components/product.js
.bootstrap-touchspin {
min-width: 100px;
flex-wrap: nowrap;
> input {
border-left: 0px;
color: $primary;
&:focus {
box-shadow: none;
}
}
.btn {
height: 50%;
width: 100%;
border-radius: 0px;
&:first-child {
border-bottom: 1px solid $border-color;
}
}
.input-touchspin {
min-width: rem-calc(66px);
}
.input-group-btn-vertical {
min-width: rem-calc(33px);
}
}

View File

@@ -27,7 +27,7 @@
{block name='product_quantity'}
<div class="product-quantity row mb-1 mx-n1 mt-n2 align-items-center">
<div class="qty col-12 col-sm-auto mx-auto mt-2 px-1">
<div class="qty col-auto px-1">
<input
type="number"
name="qty"