Skip to content

Commit

Permalink
Add fill-available property
Browse files Browse the repository at this point in the history
  • Loading branch information
jpdjere committed Mar 20, 2023
1 parent d3fec9d commit 1abd74e
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,14 +100,14 @@ export const buildQueryBarDescription = ({
description: (
<EuiFlexGroup wrap responsive={false} gutterSize="xs">
{filterManager.getFilters().map((filter, index) => (
<EuiFlexItem grow={false} key={`${field}-filter-${index}`}>
<EuiFlexItem
grow={false}
key={`${field}-filter-${index}`}
css={{ width: 'fill-available' }}
>
<EuiBadgeWrap color="hollow">
{indexPatterns != null ? (
<FilterBadgeGroup
css={{ maxWidth: '100%' }}
filters={[filter]}
dataViews={[indexPatterns]}
/>
<FilterBadgeGroup filters={[filter]} dataViews={[indexPatterns]} />
) : (
<EuiLoadingSpinner size="m" />
)}
Expand Down

0 comments on commit 1abd74e

Please sign in to comment.