Skip to content

Commit 083bfd2

Browse files
authored
Merge pull request #870 from data-driven-forms/dual-list-width
fix(pf4): dual list search width stretch.
2 parents 0588153 + e7d29f5 commit 083bfd2

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

packages/pf4-component-mapper/src/files/dual-list-select.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ List.defaultProps = {
7777
const InternalToolbar = ({ sortTitle, onFilter, onSort, sortDirection, value, placeholder, id }) => (
7878
<Toolbar className="pf-u-p-0 ddorg__pf4-component-mapper__dual-list-select-toolbar" id={id}>
7979
<ToolbarContent className="pf-u-p-0 pf-u-pb-md">
80-
<ToolbarItem>
80+
<ToolbarItem className="ddorg__pf4-component-mapper__dual-list-select-toolbar__item-grow">
8181
<InputGroup>
8282
<TextInput
8383
name="filterOptions"

packages/pf4-component-mapper/src/files/dual-list-select.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,7 @@
3939
}
4040
}
4141
}
42+
43+
.ddorg__pf4-component-mapper__dual-list-select-toolbar__item-grow {
44+
flex-grow: 1;
45+
}

0 commit comments

Comments
 (0)