-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mwpw 170384 lost info 320 #3881
base: stage
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small suggestion in regards to making the z-index relationships more obvious, would be nice to take that in before merging.
libs/styles/iframe.css
Outdated
@@ -1,3 +1,7 @@ | |||
:root { | |||
--iframe-video-aspect-ratio: 0.5625; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm a bit reluctant to assume a 16:9 aspect ratio for all videos inside modals. We have 9:16 videos (which seem to be covered by the tall-video
modal metadata style), square videos, etc. What would be the outcome for other aspect ratios? A modal larger than the video? Or would it have any other effect?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added the tall-video
example, on normal size screens it behaves the same because tall-video
overrides my css.
For square videos I assume they will behave the same as 16:9 behaves on ultra wide screen
Modal gets wider than the video when it hits max-height
.
I did notice that tall video gets an overflow on zoom bigger than 250% - 300% and also has bigger height on ultra wide screens ( and overflow on zoom)
I will look into tall-video
issues that I found.
If you have a link to the example of the square video, that would be nice so I can check the exact behavior.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't have a prod example, but I generated something quickly with Express, so you can use it on a page 😅
Square.Video.mp4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reminder to set the |
Resolves: MWPW-170384
Test overflow by zooming in the page or on very wide screen.
Chat button is only present on CC page.
Test URLs:
Example CC page from the ticket