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:
parent
10489c7534
commit
dc37503b7d
@ -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 }) => ({
|
||||
|
@ -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',
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user