From 00e15520c97e200b53cd1850b5f534063292b7dc Mon Sep 17 00:00:00 2001 From: Steve Goodwin Date: Thu, 30 Nov 2023 17:06:30 -0500 Subject: [PATCH] Set min-width for popovers that were being overridden --- frontend/public/style/_overrides.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/frontend/public/style/_overrides.scss b/frontend/public/style/_overrides.scss index 9e189d6f610..7a4658e9dde 100644 --- a/frontend/public/style/_overrides.scss +++ b/frontend/public/style/_overrides.scss @@ -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; +}