From 39afd69e77041592bb7591a3642ec538e5a3534a Mon Sep 17 00:00:00 2001 From: Wayne Wang Date: Thu, 16 Jan 2025 10:59:54 +0800 Subject: [PATCH 1/3] Overwrite hidden style for wpcom global --- .../wpcom-global-styles/wpcom-global-styles-view.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/projects/packages/jetpack-mu-wpcom/src/features/wpcom-global-styles/wpcom-global-styles-view.scss b/projects/packages/jetpack-mu-wpcom/src/features/wpcom-global-styles/wpcom-global-styles-view.scss index 93e046ab1357b..de200f96b8760 100644 --- a/projects/packages/jetpack-mu-wpcom/src/features/wpcom-global-styles/wpcom-global-styles-view.scss +++ b/projects/packages/jetpack-mu-wpcom/src/features/wpcom-global-styles/wpcom-global-styles-view.scss @@ -204,6 +204,10 @@ color: #676767; } } + + .hidden { + display: none; + } } .launch-banner-content .launch-bar-global-styles-preview { From e8939fc62a10c16c08b97adcaa3965e8a2e70e35 Mon Sep 17 00:00:00 2001 From: Wayne Wang Date: Thu, 16 Jan 2025 11:12:31 +0800 Subject: [PATCH 2/3] changelog --- .../jetpack-mu-wpcom/changelog/fix-wpcom-global-popup-issue | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 projects/packages/jetpack-mu-wpcom/changelog/fix-wpcom-global-popup-issue diff --git a/projects/packages/jetpack-mu-wpcom/changelog/fix-wpcom-global-popup-issue b/projects/packages/jetpack-mu-wpcom/changelog/fix-wpcom-global-popup-issue new file mode 100644 index 0000000000000..421ece6468380 --- /dev/null +++ b/projects/packages/jetpack-mu-wpcom/changelog/fix-wpcom-global-popup-issue @@ -0,0 +1,4 @@ +Significance: patch +Type: fixed + +Global Styles: Adding hidden style under wpcom-global-style-view From a8c81cf7558bbe6d52d7741d035bafc6d8c3128b Mon Sep 17 00:00:00 2001 From: Wayne Wang Date: Thu, 16 Jan 2025 11:24:25 +0800 Subject: [PATCH 3/3] Add the correct selector --- .../features/wpcom-global-styles/wpcom-global-styles-view.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/packages/jetpack-mu-wpcom/src/features/wpcom-global-styles/wpcom-global-styles-view.scss b/projects/packages/jetpack-mu-wpcom/src/features/wpcom-global-styles/wpcom-global-styles-view.scss index de200f96b8760..bae8af959b0f2 100644 --- a/projects/packages/jetpack-mu-wpcom/src/features/wpcom-global-styles/wpcom-global-styles-view.scss +++ b/projects/packages/jetpack-mu-wpcom/src/features/wpcom-global-styles/wpcom-global-styles-view.scss @@ -205,7 +205,7 @@ } } - .hidden { + &.hidden { display: none; } }