Skip to content

Commit daa2f6f

Browse files
committed
fix(NumberInput): remove the hardcoded default width
1 parent 3db6b8a commit daa2f6f

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

.changeset/cuddly-meals-compete.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@cube-dev/ui-kit": patch
3+
---
4+
5+
Remove the hardcoded default width for NumberInput.

.changeset/tame-bananas-teach.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@cube-dev/ui-kit": patch
3+
---
4+
5+
Fix right padding in NumberInput.

src/components/fields/NumberInput/NumberInput.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ const StyledTextInputBase = tasty(TextInputBase, {
2424
styles: {
2525
textAlign: 'right',
2626
},
27-
wrapperStyles: {
28-
width: 'initial 13x 100%',
29-
},
3027
});
3128

3229
const StepperContainer = tasty({

0 commit comments

Comments
 (0)