mirror of
https://github.com/Unleash/unleash.git
synced 2025-03-18 00:19:49 +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)({
|
export const StyledInput = styled(Input)({
|
||||||
width: '100%',
|
width: '100%',
|
||||||
fieldset: { border: 'none' },
|
fieldset: { border: 'none' },
|
||||||
|
'label::first-letter': {
|
||||||
|
textTransform: 'uppercase',
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
export const ConfigButtons = styled(StyledFormSection)(({ theme }) => ({
|
export const ConfigButtons = styled(StyledFormSection)(({ theme }) => ({
|
||||||
|
@ -134,8 +134,8 @@ const CreateFeature = () => {
|
|||||||
replace: true,
|
replace: true,
|
||||||
});
|
});
|
||||||
setToastData({
|
setToastData({
|
||||||
title: 'Toggle created successfully',
|
title: 'Flag created successfully',
|
||||||
text: 'Now you can start using your toggle.',
|
text: 'Now you can start using your flag.',
|
||||||
confetti: true,
|
confetti: true,
|
||||||
type: 'success',
|
type: 'success',
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user