Skip to content

Commit

Permalink
fix: resolve an issue with number input
Browse files Browse the repository at this point in the history
  • Loading branch information
cschroeter committed Nov 22, 2024
1 parent 38f1494 commit baefd8a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 4 additions & 0 deletions packages/panda/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ description: All notable changes will be documented in this file.

## [Unreleased]

### Fixed

- **NumberInput**: Fixed an issue where the grid layout was not applied correctly.

## [0.43.0] - 2024-11-18

### Changed
Expand Down
3 changes: 1 addition & 2 deletions packages/panda/src/theme/recipes/number-input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ export const numberInput = defineSlotRecipe({
borderColor: 'border.default',
borderRadius: 'l2',
borderWidth: '1px',

display: 'grid',
divideX: '1px',
gridTemplateColumns: '1fr 32px',
Expand All @@ -63,7 +62,7 @@ export const numberInput = defineSlotRecipe({
input: {
background: 'transparent',
border: 'none',
gridRow: '2',
gridRow: 'span 2 / span 2',
outline: 'none',
width: 'full',
_disabled: {
Expand Down

0 comments on commit baefd8a

Please sign in to comment.