Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Dashboard: mark external link as external.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { getRedirectUrl } from '@automattic/jetpack-components';
import { ConnectButton } from '@automattic/jetpack-connection';
import { ExternalLink } from '@wordpress/components';
import { createInterpolateElement } from '@wordpress/element';
import { __ } from '@wordpress/i18n';
import clsx from 'clsx';
Expand Down Expand Up @@ -66,11 +67,9 @@ function ConnectionContent( { onShowSharingDetailsClick } ) {
{
strong: <strong />,
tosLink: (
<a
<ExternalLink
className={ styles[ 'terms-of-service__link' ] }
href={ getRedirectUrl( 'wpcom-tos' ) }
rel="noopener noreferrer"
target="_blank"
/>
),
shareDetailsLink: (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
line-height: 32px;
}
}

h2 {
font-size: 32px;
line-height: 35px;
Expand All @@ -31,7 +31,7 @@
line-height: 32px;
}
}

p {
margin: 0;
}
Expand All @@ -56,7 +56,7 @@
line-height: 32px;
}
}

h2 {
font-size: 32px;
line-height: 35px;
Expand All @@ -67,7 +67,7 @@
line-height: 32px;
}
}

p {
margin: 0;
}
Expand Down Expand Up @@ -135,13 +135,12 @@
font-size: 13px;
color: var(--jp-black);
max-width: 460px;

}

.terms-of-service__link {
color: $studio-automattic-blue;
white-space: nowrap;
text-decoration: underline;
}

:global {
Expand Down