Skip to content

Commit

Permalink
🐛Reset min dimensions on undock (#20817)
Browse files Browse the repository at this point in the history
Otherwise the video can be oversized and clipped when docked and resizing the window.
  • Loading branch information
alanorozco authored Feb 13, 2019
1 parent bcce892 commit 0298883
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions extensions/amp-video-docking/0.1/amp-video-docking.js
Original file line number Diff line number Diff line change
Expand Up @@ -1717,6 +1717,8 @@ export class VideoDocking {
resetStyles(el, [
'transform',
'transition',
'min-width',
'min-height',
'width',
'height',
'opacity',
Expand Down

0 comments on commit 0298883

Please sign in to comment.