Skip to content

Commit

Permalink
Merge pull request openshift#12610 from sg00dwin/filter-input-placeho…
Browse files Browse the repository at this point in the history
…lder-width-bug

OCPBUGS-6762: Increase filter input width to accomodate placeholder text
  • Loading branch information
openshift-merge-robot authored Mar 2, 2023
2 parents 898d6ce + b7fe6e5 commit 85fdfb9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions frontend/public/components/_filter-toolbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@
padding: 0 var(--pf-global--spacer--xs);
}

@media (min-width: $pf-global--breakpoint--md) {
.co-filter-group {
width: 350px !important; // enable full placeholder text to display
}
}

.co-filter-search--full-width {
flex-grow: 1;
.has-feedback {
Expand Down
2 changes: 1 addition & 1 deletion frontend/public/components/filter-toolbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ export const FilterToolbar: React.FC<FilterToolbarProps> = ({
}}
categoryName={translatedNameFilterTitle}
>
<div className="pf-c-input-group">
<div className="pf-c-input-group co-filter-group">
{!hideLabelFilter && (
<DropdownInternal
items={filterDropdownItems}
Expand Down

0 comments on commit 85fdfb9

Please sign in to comment.