Skip to content

Commit

Permalink
remove clear button, add the width of create button (opensearch-proje…
Browse files Browse the repository at this point in the history
…ct#33)

Signed-off-by: zhichao-aws <zhichaog@amazon.com>
  • Loading branch information
zhichao-aws authored and ruanyl committed Aug 3, 2023
1 parent 7cf1227 commit 1f76aa2
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 1f76aa2

Please sign in to comment.