Skip to content

Conversation

@jacobparis
Copy link

The shadow has an explicit 0.5em height in dark mode, but not in light mode, which falls back to the 0.25em set upstream in the cascade.

If we want to maintain the height in dark mode, we should also set it to be the same in light mode too

image

image

When the user rapidly changes between dark and light mode, the layout shifts noticeably. Try holding shift+D on the docs page to see it in effect

The shadow has an explicit 0.5em height in dark mode, but not in light mode, which falls back to the 0.25em set upstream in the cascade.

When the user rapidly changes between dark and light mode, the layout shifts noticeably. Try holding shift+D on [the docs page](https://developers.cloudflare.com/images/cloudflare-images/serve-images) to see it in effect
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant