Skip to content

Safari is not rendering link underlines. #107

@zorn

Description

@zorn

When browsing the docs in Firefox, I see yellow underlines, but when I use Safari, I do not.

I noticed this when reading the docs on my iPad, but macOS Safari also has the issue.

Image Image

I believe the issue is from around here:

article a {
--ifm-link-decoration: underline 3px solid var(--ifm-color-primary);
--ifm-link-hover-decoration: underline 3px solid var(--ifm-color-primary);
}

When I tried this alternative CSS locally, it worked, but I'm not sure it aligns with your Infima usage (which I am unfamiliar with).

article a,
article a:hover {
  text-decoration-line: underline;
  text-decoration-thickness: 3px;
  text-decoration-style: solid;
  text-decoration-color: var(--ifm-color-primary);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions