statamic / v2-hub

Statamic 2 - Feature Requests and Bug Reports
https://statamic.com
95 stars 5 forks source link

Square/portrait videos push asset edit buttons off-screen in Chrome/Firefox #2471

Open lukeagsmith opened 4 years ago

lukeagsmith commented 4 years ago

Describe the bug In a landscape viewport, on the assets edit overlay, non-landscape videos break outside of their preview panel and push the 'Rename', 'Move file', 'Delete' and 'Save' buttons out the bottom of the viewport.

This appears to happen on Chrome and Firefox. On Safari the video still breaks out the preview box, but the buttons are still in their proper place.

Expected behaviour The video should always be contained inside the preview panel.

Screenshots

asset-edit-landscape-viewport

Environment details (please complete the following information):