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 <[email protected]>
  • Loading branch information
zhichao-aws authored and Hailong-am committed Jul 18, 2023
1 parent eed2c37 commit 629bedc
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 629bedc

Please sign in to comment.