Skip to content

Commit

Permalink
Add custom classname for domain items on breadcrumbs
Browse files Browse the repository at this point in the history
  • Loading branch information
phcp committed Jan 15, 2025
1 parent 836891b commit dac0d87
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ const AddForwardingEmailHeader: CustomHeaderComponentType = ( {
null,
inSiteContext
),
className: 'navigation-header__domain-name',
},
{
label: translate( 'Email' ),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ const AddMailboxHeader: CustomHeaderComponentType = ( {
{
label: selectedDomainName,
href: `${ domainManagementOverviewRoot() }/${ selectedDomainName }/${ selectedSiteSlug }`,
className: 'navigation-header__domain-name',
},
{
label: translate( 'Email' ),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ const CompareEmailProvidersHeader: CustomHeaderComponentType = ( {
null,
inSiteContext
),
className: 'navigation-header__domain-name',
},
{
label: translate( 'Email' ),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ const ContactInformationHeader: CustomHeaderComponentType = ( {
null,
inSiteContext
),
className: 'navigation-header__domain-name',
},
{
label: translate( 'Contact information' ),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ const DnsRecordHeader: CustomHeaderComponentType = ( {
null,
inSiteContext
),
className: 'navigation-header__domain-name',
},
{
label: translate( 'DNS records' ),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ const DNSRecordsHeader: CustomHeaderComponentType = ( {
null,
inSiteContext
),
className: 'navigation-header__domain-name',
},
{
label: dnsRecordsTitle,
Expand All @@ -58,7 +59,7 @@ const DNSRecordsHeader: CustomHeaderComponentType = ( {
}

return baseNavigationItems;
}, [ inSiteContext, selectedDomainName, selectedSiteSlug, site, translate ] );
}, [ inSiteContext, selectedDomainName, selectedSiteSlug, site ] );

return (
<NavigationHeader
Expand Down

0 comments on commit dac0d87

Please sign in to comment.