Skip to content

Commit

Permalink
Merge pull request #3864 from google/enhancement/3702-analytics-links
Browse files Browse the repository at this point in the history
Enhancement/3702 analytics links
  • Loading branch information
felixarntz authored Aug 12, 2021
2 parents 9a91c54 + f24d35f commit bda7e37
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
12 changes: 10 additions & 2 deletions assets/js/modules/analytics/components/settings/SettingsView.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,11 @@ export default function SettingsView() {
{ __( 'View', 'google-site-kit' ) }
</h5>
<p className="googlesitekit-settings-module__meta-item-data">
<DisplaySetting value={ profileID } />{ ' ' }
<DisplaySetting value={ profileID } />
</p>
</div>
<div className="googlesitekit-settings-module__meta-item googlesitekit-settings-module__meta-item--data-only">
<p className="googlesitekit-settings-module__meta-item-data googlesitekit-settings-module__meta-item-data--tiny">
<Link href={ editViewSettingsURL } external inherit>
{ createInterpolateElement(
__(
Expand Down Expand Up @@ -189,7 +193,11 @@ export default function SettingsView() {
) }
</h5>
<p className="googlesitekit-settings-module__meta-item-data">
<DisplaySetting value={ ga4MeasurementID } />{ ' ' }
<DisplaySetting value={ ga4MeasurementID } />
</p>
</div>
<div className="googlesitekit-settings-module__meta-item googlesitekit-settings-module__meta-item--data-only">
<p className="googlesitekit-settings-module__meta-item-data googlesitekit-settings-module__meta-item-data--tiny">
<Link
href={ editDataStreamSettingsURL }
external
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
}

.googlesitekit-settings-module__meta-items {
align-items: center;
align-items: stretch;
display: flex;
flex-wrap: wrap;
margin: 0;
Expand All @@ -154,6 +154,11 @@
margin: 0 ($grid-gap-desktop * 2) $grid-gap-desktop 0;
}

&--data-only {
align-items: flex-end;
display: flex;
}

&--nomargin {
margin: 0;
}
Expand Down Expand Up @@ -184,6 +189,11 @@
&--wrap {
word-break: break-all;
}

&--tiny {
font-size: 0.8125rem;
font-weight: 400;
}
}

.googlesitekit-settings-module__edit-button-icon,
Expand Down

0 comments on commit bda7e37

Please sign in to comment.