Plugins Catalog: Fix styling of hyperlinks (#48196)

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

Fixes #48078
This commit is contained in:
Marcus Efraimsson 2022-04-27 14:34:47 +02:00 committed by GitHub
parent f58a2d879e
commit 199cacc7b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 0 deletions

View File

@ -101,5 +101,14 @@ export const getStyles = (theme: GrafanaTheme2) => ({
margin: ${theme.spacing()} 0; margin: ${theme.spacing()} 0;
} }
} }
a {
color: ${theme.colors.text.link};
&:hover {
color: ${theme.colors.text.link};
text-decoration: underline;
}
}
`, `,
}); });

View File

@ -146,6 +146,12 @@ export const getStyles = (theme: GrafanaTheme2) => {
} }
} }
font-size: ${theme.typography.h4.fontSize}; font-size: ${theme.typography.h4.fontSize};
a {
&:hover {
text-decoration: underline;
}
}
`, `,
headerInformationRowSecondary: css` headerInformationRowSecondary: css`
font-size: ${theme.typography.body.fontSize}; font-size: ${theme.typography.body.fontSize};