Skip to content

Dark mode image variants don't shrink #714

Description

@nish7x
Screen.Recording.2026-08-03.at.16.09.17.mov

When dark mode image variants are added, they don't take up the flex-shrink and dimension values of light mode images? Causes other images to shift or shrink. Not sure if this is a technical constraint.

The issue seems to be resolved if the picture tag is set to display: block instead of display: contents.

Image

(currently enforced using external stylesheet)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions