Skip to content

Commit

Permalink
fix(toolbar): added chip container class to toolbar content (#9379)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcoker authored Jul 20, 2023
1 parent 959bc7e commit df21278
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ export class ToolbarChipGroupContent extends React.Component<ToolbarChipGroupCon
<div
className={css(
styles.toolbarContent,
!collapseListedFilters && styles.modifiers.chipContainer,
(numberOfFilters === 0 || isExpanded) && styles.modifiers.hidden,
className
)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
exports[`ToolbarChipGroupContent should match snapshot (auto-generated) 1`] = `
<DocumentFragment>
<div
class="pf-v5-c-toolbar__content pf-m-hidden string"
class="pf-v5-c-toolbar__content pf-m-chip-container pf-m-hidden string"
hidden=""
>
<div
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ exports[`Toolbar should render inset 1`] = `
</div>
</div>
<div
class="pf-v5-c-toolbar__content pf-m-hidden"
class="pf-v5-c-toolbar__content pf-m-chip-container pf-m-hidden"
hidden=""
>
<div
Expand Down Expand Up @@ -395,7 +395,7 @@ exports[`Toolbar should render with page inset flag 1`] = `
</div>
</div>
<div
class="pf-v5-c-toolbar__content pf-m-hidden"
class="pf-v5-c-toolbar__content pf-m-chip-container pf-m-hidden"
hidden=""
>
<div
Expand Down

0 comments on commit df21278

Please sign in to comment.