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 SuZhou-Joe committed Aug 31, 2023
1 parent 8d1f87e commit a953d7c
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 a953d7c

Please sign in to comment.