Skip to content

Commit

Permalink
fix(input-date): make the fields a bit larger
Browse files Browse the repository at this point in the history
  • Loading branch information
clementprevot committed Aug 23, 2023
1 parent 13e614a commit 379c812
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions packages/fractal/src/components/InputDate/InputDate.recipe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ export const inputDateField = defineRecipe({

export const inputDateDay: ReturnType<typeof defineRecipe> = defineRecipe({
base: {
minWidth: '64px',
'& input': {
minWidth: '72px',
},
},

className: 'inputDateDay',
Expand All @@ -81,7 +83,9 @@ export const inputDateDay: ReturnType<typeof defineRecipe> = defineRecipe({

export const inputDateMonth: ReturnType<typeof defineRecipe> = defineRecipe({
base: {
minWidth: '64px',
'& input': {
minWidth: '72px',
},
},

className: 'inputDateMonth',
Expand All @@ -92,6 +96,7 @@ export const inputDateMonth: ReturnType<typeof defineRecipe> = defineRecipe({
export const inputDateYear: ReturnType<typeof defineRecipe> = defineRecipe({
base: {
'& input': {
minWidth: '88px',
width: 'unset!',
},
},
Expand Down

0 comments on commit 379c812

Please sign in to comment.