From 7bbffd328412e9a516fe0899cb21af17a7f81c49 Mon Sep 17 00:00:00 2001 From: Moon Date: Mon, 3 Jul 2023 10:54:48 -0700 Subject: [PATCH] Update CSS styles for core profiler headers (#39059) * Remove letter-spacing and use 500 for font-weight * Add changelog * Style updates for the header * Set letter-spacing to normal * Use 500 for font-weight * Remove max-width * Add changelog --- .../client/core-profiler/components/heading/style.scss | 3 ++- plugins/woocommerce-admin/client/core-profiler/style.scss | 4 ---- .../woocommerce/changelog/update-39040-update-header-styls2 | 4 ++++ 3 files changed, 6 insertions(+), 5 deletions(-) create mode 100644 plugins/woocommerce/changelog/update-39040-update-header-styls2 diff --git a/plugins/woocommerce-admin/client/core-profiler/components/heading/style.scss b/plugins/woocommerce-admin/client/core-profiler/components/heading/style.scss index 5f003540e12..9fff30771bf 100644 --- a/plugins/woocommerce-admin/client/core-profiler/components/heading/style.scss +++ b/plugins/woocommerce-admin/client/core-profiler/components/heading/style.scss @@ -9,13 +9,14 @@ .woocommerce-profiler-heading__title { font-style: normal; - font-weight: 500; font-size: 32px; line-height: 40px; text-align: center; color: $gray-900; margin-bottom: 12px; + letter-spacing: normal; padding-top: 0; + font-weight: 500; @include breakpoint( '<782px' ) { font-size: 28px; diff --git a/plugins/woocommerce-admin/client/core-profiler/style.scss b/plugins/woocommerce-admin/client/core-profiler/style.scss index e75810649e1..42ef9e0a0c1 100644 --- a/plugins/woocommerce-admin/client/core-profiler/style.scss +++ b/plugins/woocommerce-admin/client/core-profiler/style.scss @@ -353,10 +353,6 @@ width: 100%; } - .woocommerce-profiler-heading__title { - max-width: 480px; - } - .woocommerce-user-profile-choices fieldset { display: flex; gap: 18px; diff --git a/plugins/woocommerce/changelog/update-39040-update-header-styls2 b/plugins/woocommerce/changelog/update-39040-update-header-styls2 new file mode 100644 index 00000000000..cf8bbf4437f --- /dev/null +++ b/plugins/woocommerce/changelog/update-39040-update-header-styls2 @@ -0,0 +1,4 @@ +Significance: minor +Type: tweak + +Update CSS styles for the core profiler header