Plugins Catalog: Fix styling of hyperlinks (#48196) (#48341)

Adds some styling (default hyperlink color and underline on hover) to
plugin header and body hyperlinks.

Fixes #48078

(cherry picked from commit 199cacc7b6)

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
This commit is contained in:
Grot (@grafanabot)
2022-04-27 14:52:14 +02:00
committed by GitHub
co-authored by Marcus Efraimsson
parent 35f60c9aa6
commit 012b1bd41a
2 changed files with 15 additions and 0 deletions
@@ -101,5 +101,14 @@ export const getStyles = (theme: GrafanaTheme2) => ({
margin: ${theme.spacing()} 0;
}
}
a {
color: ${theme.colors.text.link};
&:hover {
color: ${theme.colors.text.link};
text-decoration: underline;
}
}
`,
});
@@ -142,6 +142,12 @@ export const getStyles = (theme: GrafanaTheme2) => {
}
}
font-size: ${theme.typography.h4.fontSize};
a {
&:hover {
text-decoration: underline;
}
}
`,
headerInformationRowSecondary: css`
font-size: ${theme.typography.body.fontSize};