Skip to content

Commit

Permalink
fix: Capitalize input labels (#7667)
Browse files Browse the repository at this point in the history
This change makes it so that all form input labels start with a
capital letter, regardless of the data we use to generate them.

Also fixes a leftover toggle -> flag renaming.
  • Loading branch information
thomasheartman authored Jul 25, 2024
1 parent 10489c7 commit dc37503
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ export const ProjectDescriptionContainer = styled('div')({
export const StyledInput = styled(Input)({
width: '100%',
fieldset: { border: 'none' },
'label::first-letter': {
textTransform: 'uppercase',
},
});

export const ConfigButtons = styled(StyledFormSection)(({ theme }) => ({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ const CreateFeature = () => {
replace: true,
});
setToastData({
title: 'Toggle created successfully',
text: 'Now you can start using your toggle.',
title: 'Flag created successfully',
text: 'Now you can start using your flag.',
confetti: true,
type: 'success',
});
Expand Down

0 comments on commit dc37503

Please sign in to comment.