1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00

fix: Capitalize input labels (#7667)

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.
This commit is contained in:
Thomas Heartman 2024-07-25 14:27:46 +02:00 committed by GitHub
parent 10489c7534
commit dc37503b7d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

View File

@ -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 }) => ({

View File

@ -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',
});