Restrict site visibility badge to WC Home screen & adjust badge padding (#46359)
* Adjust padding on site visibility status badge * Only show badge on WooCommerce home * Add changelog
This commit is contained in:
parent
c48f80ed30
commit
f74104667e
|
@ -101,7 +101,8 @@ export const Header = ( { sections, isEmbedded = false, query } ) => {
|
|||
}
|
||||
}, [ isEmbedded, sections, siteTitle ] );
|
||||
|
||||
const isHomescreen = isWCAdmin() && getScreenFromPath() === 'homescreen';
|
||||
const isHomescreen =
|
||||
isWCAdmin() && getScreenFromPath() === 'homescreen' && ! query.task;
|
||||
const { isLoading, launchYourStoreEnabled, comingSoon, storePagesOnly } =
|
||||
useLaunchYourStore();
|
||||
const showLaunchYourStoreStatus =
|
||||
|
|
|
@ -19,6 +19,10 @@
|
|||
border-radius: 4px;
|
||||
height: 24px;
|
||||
|
||||
svg {
|
||||
margin-left: 4px;
|
||||
}
|
||||
|
||||
&.is-live {
|
||||
background-color: #e6f2e8;
|
||||
color: #005c12;
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: update
|
||||
|
||||
Update lys status badge padding and only show it on WooCommerce home'
|
Loading…
Reference in New Issue