Skip to content

Commit

Permalink
remove clear button, add the width of create button (#33)
Browse files Browse the repository at this point in the history
Signed-off-by: zhichao-aws <zhichaog@amazon.com>
  • Loading branch information
zhichao-aws authored and ruanyl committed Sep 15, 2023
1 parent e9e0592 commit 751da2e
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,12 @@ export function WorkspaceDropdownList(props: WorkspaceDropdownListProps) {
selectedOptions={currentWorkspaceOption}
singleSelection={{ asPlainText: true }}
onSearchChange={onSearchChange}
append={<EuiButton onClick={onCreateWorkspaceClick}>Create workspace</EuiButton>}
isClearable={false}
append={
<EuiButton onClick={onCreateWorkspaceClick} style={{ width: '500px' }}>
Create workspace
</EuiButton>
}
/>
</>
);
Expand Down

0 comments on commit 751da2e

Please sign in to comment.