Skip to content

bug: zoomed images distort depending on size #14

@luandro

Description

@luandro

Description

Zooming tall documentation images leaves a white gap above the asset or compresses it depending on aspect ratio when using the current medium-zoom setup.

Steps to Reproduce

  1. bun run dev
  2. Open any doc with a tall or portrait image
  3. Click the image to zoom

Expected

Zoomed images should preserve proportions and fill the viewport without a top gap or distortion.

Related

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions