1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-04 00:18:01 +01:00

chore: fix create project form environment selector button width (#7175)

This commit sets the width of the environment selector button to a
fixed width (wide enough to display "all environments").
This commit is contained in:
Thomas Heartman 2024-05-28 08:22:58 +02:00 committed by GitHub
parent cae3d78ced
commit be0f073b89
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -239,6 +239,7 @@ export const NewProjectForm: React.FC<FormProps> = ({
projectEnvironments.size > 0
? `${projectEnvironments.size} selected`
: 'All environments',
labelWidth: `${'all environments'.length}ch`,
icon: <EnvironmentsIcon />,
}}
search={{