mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
fix(html): set default link color for safari (#11353)
This commit is contained in:
parent
6f932fcb4a
commit
5751a1255b
@ -49,7 +49,7 @@ export const Link: React.FunctionComponent<{
|
||||
title?: string,
|
||||
children: any,
|
||||
}> = ({ href, className, children, title }) => {
|
||||
return <a style={{ textDecoration: 'none', color: 'initial' }} className={`${className || ''}`} href={href} title={title}>{children}</a>;
|
||||
return <a style={{ textDecoration: 'none', color: 'var(--color-fg-default)' }} className={`${className || ''}`} href={href} title={title}>{children}</a>;
|
||||
};
|
||||
|
||||
export const ProjectLink: React.FunctionComponent<{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user