Skip to content

Commit

Permalink
Tweak: Added 9:16 Aspect ration for vertical videos support closes el…
Browse files Browse the repository at this point in the history
  • Loading branch information
shilo-ey committed Jun 10, 2019
1 parent 0a0d111 commit 89ac9f4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions assets/dev/scss/global/_aspect_ratio.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,13 @@
padding-bottom: 100%;
}
}

&916 {

.elementor-fit-aspect-ratio {
padding-bottom: 177.8%;
}
}
}

.elementor-fit-aspect-ratio {
Expand Down
1 change: 1 addition & 0 deletions includes/widgets/video.php
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,7 @@ protected function _register_controls() {
'43' => '4:3',
'32' => '3:2',
'11' => '1:1',
'916' => '9:16',
],
'default' => '169',
'prefix_class' => 'elementor-aspect-ratio-',
Expand Down

0 comments on commit 89ac9f4

Please sign in to comment.