The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Hide native spinner on number inputs (#26126)
Etiennebd5130e178f9
diff --git a/packages/twenty-front/src/modules/ui/input/components/TextInput.tsx b/packages/twenty-front/src/modules/ui/input/components/TextInput.tsxindex 0144ce19200..196feb6a0f4 100644--- a/packages/twenty-front/src/modules/ui/input/components/TextInput.tsx+++ b/packages/twenty-front/src/modules/ui/input/components/TextInput.tsx@@ -178,6 +178,16 @@ const StyledInput = styled.input<? themeCssVariables.border.color.danger: themeCssVariables.color.blue};}++ &[type='number']::-webkit-outer-spin-button,+ &[type='number']::-webkit-inner-spin-button {+ -webkit-appearance: none;+ margin: 0;+ }++ &[type='number'] {+ -moz-appearance: textfield;+ }`;const StyledLeftIconContainer = styled.div<{ sizeVariant: TextInputSize }>`