Skip to content

Gitea scrollbar in Safari is ugly #24321

Closed
@wxiaoguang

Description

@wxiaoguang
Contributor

image

Gitea Version

1.19/main

Activity

silverwind

silverwind commented on Apr 25, 2023

@silverwind
Member

Can reproduce, but only in light theme. Wonder where that green is coming from, it also appears on the off-screen background when scrolling the page up with rubber-band scrolling.

silverwind

silverwind commented on Apr 25, 2023

@silverwind
Member

It comes from HTML theme-color which Safari apparently now uses to color out-of-viewport content like scrollbar or overscroll area.

silverwind

silverwind commented on Apr 25, 2023

@silverwind
Member

We could automatically to set theme-color via JS to match the current theme's --color-body so browser chrome on IOS and overflow match the body color, but that also means the color no longer be controlled via HTML, and I wonder if we should just remove the THEME_COLOR_META_TAG setting we have.

More info: https://css-tricks.com/meta-theme-color-and-trickery/

self-assigned this
on Apr 25, 2023
added a commit that references this issue on Apr 26, 2023
locked as resolved and limited conversation to collaborators on Jun 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    Participants

    @silverwind@wxiaoguang

    Issue actions

      Gitea scrollbar in Safari is ugly · Issue #24321 · go-gitea/gitea