Bug 2031831

Summary: OCP Console - Global CSS overrides affecting dynamic plugins
Product: OpenShift Container Platform Reporter: James Talton <jtalton>
Component: Management ConsoleAssignee: Steve Goodwin <sgoodwin>
Status: CLOSED ERRATA QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.10CC: aos-bugs, sgoodwin, spadgett, yapei
Target Milestone: ---   
Target Release: 4.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-12 04:39:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description James Talton 2021-12-13 14:11:21 UTC
Description of problem:

global css overrides in
https://github.com/openshift/console/blob/master/frontend/public/style/ancillary/_patternfly4.scss

OverrideS such as 
```
p {
  margin-bottom: var(--pf-c-content--MarginBottom);
}
```
affect all paragraph elements globally.

When using dynamic plugins, the plugin content is affected by the global styling.

Comment 1 Samuel Padgett 2021-12-13 15:31:35 UTC
*** Bug 2031230 has been marked as a duplicate of this bug. ***

Comment 5 Yadan Pei 2022-01-10 03:23:59 UTC
1. Build dynamic-demo-plugin and deploy to the cluster
$ oc apply -f dynamic-demo-plugin/oc-manifest.yaml 
namespace/console-demo-plugin created
deployment.apps/console-demo-plugin created
service/console-demo-plugin created
consoleplugin.console.openshift.io/console-demo-plugin created

2. Enable the dynamic demo plugin, refresh console
3. Do some regression testing at alerting page, CSV details page, modal, sidebar, search and filter, no significant issues found

Moving to VERIFIED, let me know if my steps are insufficient/wrong


verified on  4.10.0-0.nightly-2022-01-08-215919

Comment 8 errata-xmlrpc 2022-03-12 04:39:26 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.10.3 security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:0056