Skip to content

Commit

Permalink
Set min-width for popovers that were being overridden
Browse files Browse the repository at this point in the history
  • Loading branch information
sg00dwin committed Nov 30, 2023
1 parent 2155d74 commit 00e1552
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions frontend/public/style/_overrides.scss
Original file line number Diff line number Diff line change
Expand Up @@ -399,3 +399,8 @@ ul.pf-v5-c-tree-view__list {
color: var(--pf-global--Color--100);
background-color: var(--pf-global--palette--black-600);
}

// PF5 Popover component applies an new inline width:auto style that overrides it's own pf-v5-c-popover min-width: var(--pf-v5-c-popover--MinWidth). So the pf-v5-c-popover container is not a consistent size and can resize when additional content is loaded which causes the alignment to be incorrect.
.pf-v5-c-popover {
min-width: var(--pf-v5-c-popover--MinWidth) !important;
}

0 comments on commit 00e1552

Please sign in to comment.