Remove yield input number spinners

This commit is contained in:
Cauê Faleiros
2026-08-12 11:25:28 -03:00
parent 7e772bbf79
commit cfdcc4f2f4
2 changed files with 12 additions and 1 deletions

View File

@@ -75,6 +75,17 @@
}
@layer components {
.yield-input {
appearance: textfield;
-moz-appearance: textfield;
}
.yield-input::-webkit-inner-spin-button,
.yield-input::-webkit-outer-spin-button {
margin: 0;
appearance: none;
}
.skeleton {
position: relative;
overflow: hidden;

View File

@@ -1019,7 +1019,7 @@ const Cutting = () => {
value={cuttingSettings.familyYields[rule.key] || ''}
onChange={(event) => updateFamilyYield(rule.key, event.target.value)}
placeholder="un./rolo"
className="h-10 w-full rounded-lg border border-dark-border bg-dark-card px-3 text-sm font-bold text-dark-text outline-none transition-colors focus:border-brand-primary"
className="yield-input h-10 w-full rounded-lg border border-dark-border bg-dark-card px-3 text-sm font-bold text-dark-text outline-none transition-colors focus:border-brand-primary"
/>
{yieldRecommendations.find(item => item.familyKey === rule.key)?.recommendedUnitsPerRoll && (() => {
const recommendation = yieldRecommendations.find(item => item.familyKey === rule.key)!;