Skip to content

Commit

Permalink
Merge pull request #798 from vrk-kpa/fix/time-input-width
Browse files Browse the repository at this point in the history
[Fix] TimeInput width
  • Loading branch information
riitasointi authored Nov 7, 2023
2 parents 4211f32 + 69b5543 commit 33387c1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/core/Form/TimeInput/TimeInput.baseStyles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { math } from 'polished';

export const baseStyles = (theme: SuomifiTheme) => css`
${font(theme)('bodyText')}
width: 290px;
max-width: 290px;
& .fi-time-input_character-counter {
${font(theme)('bodyTextSmall')};
Expand Down
8 changes: 4 additions & 4 deletions src/core/Form/TimeInput/__snapshots__/TimeInput.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ exports[`snapshots match error status with statustext 1`] = `
font-size: 18px;
line-height: 1.5;
font-weight: 400;
width: 290px;
max-width: 290px;
}
.c1 .fi-time-input_character-counter {
Expand Down Expand Up @@ -651,7 +651,7 @@ exports[`snapshots match hidden label 1`] = `
font-size: 18px;
line-height: 1.5;
font-weight: 400;
width: 290px;
max-width: 290px;
}
.c1 .fi-time-input_character-counter {
Expand Down Expand Up @@ -1116,7 +1116,7 @@ exports[`snapshots match hint text 1`] = `
font-size: 18px;
line-height: 1.5;
font-weight: 400;
width: 290px;
max-width: 290px;
}
.c1 .fi-time-input_character-counter {
Expand Down Expand Up @@ -1571,7 +1571,7 @@ exports[`snapshots match minimal implementation 1`] = `
font-size: 18px;
line-height: 1.5;
font-weight: 400;
width: 290px;
max-width: 290px;
}
.c1 .fi-time-input_character-counter {
Expand Down

0 comments on commit 33387c1

Please sign in to comment.