🐛 [amp story page attachment] min-height for drawers when in supports-landscape mode#37277
Conversation
|
Hey @gmajoulet, @newmuis, @mszylkowski! These files were changed: |
|
One nit we should verify before merging: when the page attachment content is very short, does the modal expand it's height to the whole page or does it max-out at the height of the content? (I think the latter is the ideal behavior) |
mszylkowski
left a comment
There was a problem hiding this comment.
Thanks for taking care of this!
|
Is a solution here still on track? Similarly, this target did not need overflow-y; on desktop landscape the attachment was 100% viewable: |
|
Thank you for the ping @jaygray0919 |
Attachments in supports-landscape mode appear squished on small screens.

This PR sets a min height on desktop mode attachments.
The desktop attribute is currently only set when in DESKTOP_FULLBLEED.
For a separate PR, this attribute should be renamed to desktop-fullbleed since it's specific to that UI type.
Implementation screen recording.
This PR removes a calc in the drawer height that appears to be dead code.
Context / Fixes #37234