Skip to content

Commit

Permalink
[Workspace] fine-tune workspace list page compressed style to align w…
Browse files Browse the repository at this point in the history
…ith compressed table (#8619) (#8626)
  • Loading branch information
opensearch-trigger-bot[bot] authored Oct 17, 2024
1 parent 6fc2aa4 commit b268a04
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
2 changes: 2 additions & 0 deletions changelogs/fragments/8619.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
refactor:
- Fine-tune workspace list page compressed style to align with compressed table ([#8619](/~https://github.com/opensearch-project/OpenSearch-Dashboards/pull/8619))

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ export const WorkspaceListInner = ({
return (
isDashboardAdmin && (
<>
<EuiButton color="danger" iconType="trash" onClick={onClick}>
<EuiButton color="danger" iconType="trash" onClick={onClick} size="s">
Delete {selection.length} Workspace
</EuiButton>
{deletedWorkspaces && deletedWorkspaces.length > 0 && (
Expand All @@ -346,6 +346,7 @@ export const WorkspaceListInner = ({
incremental: true,
},
query,
compressed: true,
onChange: (args) => setQuery((args.query as unknown) as EuiSearchBarProps['query']),
filters: [
{
Expand All @@ -354,6 +355,7 @@ export const WorkspaceListInner = ({
name: 'Use Case',
multiSelect: false,
options: useCaseFilterOptions,
compressed: true,
},
],
toolsLeft: renderToolsLeft(),
Expand Down

0 comments on commit b268a04

Please sign in to comment.