mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-09 00:18:00 +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:
parent
cae3d78ced
commit
be0f073b89
@ -239,6 +239,7 @@ export const NewProjectForm: React.FC<FormProps> = ({
|
|||||||
projectEnvironments.size > 0
|
projectEnvironments.size > 0
|
||||||
? `${projectEnvironments.size} selected`
|
? `${projectEnvironments.size} selected`
|
||||||
: 'All environments',
|
: 'All environments',
|
||||||
|
labelWidth: `${'all environments'.length}ch`,
|
||||||
icon: <EnvironmentsIcon />,
|
icon: <EnvironmentsIcon />,
|
||||||
}}
|
}}
|
||||||
search={{
|
search={{
|
||||||
|
Loading…
Reference in New Issue
Block a user