PluginBrowse: Fix double margin due to paragraph tag inside description (#66776)

This commit is contained in:
Torkel Ödegaard 2023-04-19 11:10:03 +02:00 committed by GitHub
parent b47b8798d3
commit 5c129455f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,12 +65,15 @@ export default function Browse({ route }: GrafanaRouteComponentProps): ReactElem
}
const subTitle = config.featureToggles.dataConnectionsConsole ? (
<p>
<div>
Extend the Grafana experience with panel plugins and apps. To find more data sources go to{' '}
<a href={`${CONNECTIONS_ROUTES.ConnectData}?cat=data-source`}>Connections</a>.
</p>
<a className="external-link" href={`${CONNECTIONS_ROUTES.ConnectData}?cat=data-source`}>
Connections
</a>
.
</div>
) : (
<p>Extend the Grafana experience with panel plugins and apps.</p>
<div>Extend the Grafana experience with panel plugins and apps.</div>
);
return (