Skip to content

Commit 5a9abcc

Browse files
Merge pull request #13390 from sg00dwin/popover-PF5-alignment-bug
OCPBUGS-23378: Set min-width for PF popovers that are being overridden by an inline style
2 parents df47488 + 00e1552 commit 5a9abcc

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

frontend/public/style/_overrides.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,3 +396,8 @@ ul {
396396
color: var(--pf-global--Color--100);
397397
background-color: var(--pf-global--palette--black-600);
398398
}
399+
400+
// 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.
401+
.pf-v5-c-popover {
402+
min-width: var(--pf-v5-c-popover--MinWidth) !important;
403+
}

0 commit comments

Comments
 (0)