Skip to content

Commit

Permalink
Hide input controls also on hover
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom-paqtcom committed Dec 4, 2023
1 parent 061fef6 commit 8df4ec7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/core/src/components/input/input.scss
Original file line number Diff line number Diff line change
Expand Up @@ -199,11 +199,19 @@

.input-hide-appearance {
/* Chrome, Safari, Edge, Opera */
appearance: none;
-webkit-appearance: none;
margin: 0;

/* Firefox */
-moz-appearance: textfield;

&::-webkit-inner-spin-button,
&::-webkit-outer-spin-button {
appearance: none;
-webkit-appearance: none;
-moz-appearance: textfield;
}
}

// Pill modifier
Expand Down

0 comments on commit 8df4ec7

Please sign in to comment.