Bug 2031831 - OCP Console - Global CSS overrides affecting dynamic plugins
Summary: OCP Console - Global CSS overrides affecting dynamic plugins
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.10
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.10.0
Assignee: Steve Goodwin
QA Contact: Yadan Pei
URL:
Whiteboard:
: 2031230 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-12-13 14:11 UTC by James Talton
Modified: 2022-03-12 04:39 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-03-12 04:39:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 10649 0 None open Bug 2031831: Scope toolbar for specific left alignment use on list pages and remove... 2021-12-13 15:32:36 UTC
Red Hat Product Errata RHSA-2022:0056 0 None None None 2022-03-12 04:39:46 UTC

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


Note You need to log in before you can comment on or make changes to this bug.