Skip to content

Commit

Permalink
add prefix for css styles
Browse files Browse the repository at this point in the history
  • Loading branch information
atmonshi committed Feb 5, 2024
1 parent e16b1b4 commit aa3d2ad
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions resources/views/quantity.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@
\Filament\Support\prepare_inherited_attributes($getExtraInputAttributeBag())
->merge($extraAlpineAttributes, escape: false)
->merge([
'class' => 'zeus-quantity',
'disabled' => $isDisabled,
'id' => $id,
'max' => $getMaxValue,
Expand Down Expand Up @@ -139,13 +140,13 @@

<style>
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
input.zeus-quantity::-webkit-outer-spin-button,
input.zeus-quantity::-webkit-inner-spin-button {
-webkit-appearance: none;
}
/* Firefox */
input[type=number] {
input[type=number].zeus-quantity {
-moz-appearance: textfield;
}
</style>
Expand Down

0 comments on commit aa3d2ad

Please sign in to comment.