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:
co-authored by
Marcus Efraimsson
parent
35f60c9aa6
commit
012b1bd41a
@@ -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};
|
||||
|
||||
Reference in New Issue
Block a user