Skip to content

fix(web-components): constrain portrait media to viewport height#678

Merged
todti merged 3 commits into
mainfrom
fix/534-portrait-media-aspect-ratio
May 29, 2026
Merged

fix(web-components): constrain portrait media to viewport height#678
todti merged 3 commits into
mainfrom
fix/534-portrait-media-aspect-ratio

Conversation

@todti
Copy link
Copy Markdown
Collaborator

@todti todti commented May 29, 2026

Summary

Fixes #534

  • Portrait screenshots and videos were stretched to full panel width, making them hard to view on wide monitors
  • Added max-height: 80vh; width: auto; height: auto; max-width: 100% to img and video attachment elements in both web-components and web-classic
  • Landscape media continues to fill the available width (no regression); portrait media now stays within the visible viewport without scrolling

todti added 2 commits May 29, 2026 17:11
Portrait screenshots and videos were stretched to full panel width,
making them impractical on wide screens. Apply max-height: 80vh with
auto width/height so landscape media still fills available width while
portrait media stays within the visible viewport.

Fixes #534
@todti todti merged commit be1f5fa into main May 29, 2026
4 checks passed
@todti todti deleted the fix/534-portrait-media-aspect-ratio branch May 29, 2026 16:34
@github-actions
Copy link
Copy Markdown

Allure Report Summary

Name Duration Stats New Flaky Retry Report
Allure 3 Report 25m 16s Passed tests 1416   Skipped tests 15 1431 0 0 View
My Dashboard 25m 16s Passed tests 1416   Skipped tests 15 1431 0 0 View
Allure 3 GitHub actions run (2026-05-29T17:27:05.337Z) 25m 16s Passed tests 1416   Skipped tests 15 1431 0 0 View

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.

Vertical media attachments (screenshots, videos) are stretched to full width, making them hard to view

2 participants