Skip to content

Commit

Permalink
pf: Fix double-spacing issue for other dropdowns as well
Browse files Browse the repository at this point in the history
As seen on the help and session menus in the shell and possibly elsewhere.
  • Loading branch information
garrett authored and jelly committed Apr 25, 2024
1 parent 6ed0f6c commit d39255f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions pkg/lib/patternfly/patternfly-5-overrides.scss
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@ select.pf-v5-c-form-control {
margin: 0;
}

// Fix the double-spacing issue for other dropdowns
// https://github.com/patternfly/patternfly-react/issues/10302
.pf-v5-c-menu-toggle__controls:last-child > .pf-v5-c-menu-toggle__toggle-icon {
margin-inline-end: 0;
}

// The default gap between the rows in horizontal lists is too large
.pf-v5-c-description-list.pf-m-horizontal-on-sm,
.pf-v5-c-description-list.pf-m-horizontal {
Expand Down

0 comments on commit d39255f

Please sign in to comment.