summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jetpack/modules/videopress/css/videopress-editor-style.css')
-rw-r--r--plugins/jetpack/modules/videopress/css/videopress-editor-style.css21
1 files changed, 21 insertions, 0 deletions
diff --git a/plugins/jetpack/modules/videopress/css/videopress-editor-style.css b/plugins/jetpack/modules/videopress/css/videopress-editor-style.css
new file mode 100644
index 00000000..b2c29c5f
--- /dev/null
+++ b/plugins/jetpack/modules/videopress/css/videopress-editor-style.css
@@ -0,0 +1,21 @@
+/**
+ * VideoPress styles for Editor
+ */
+.videopress-editor-wrapper {
+ position: relative;
+ max-width: 100%;
+ padding: 56.25% 0 0;
+ height: 0;
+ overflow: hidden;
+}
+.tmpl-videopress_iframe_next iframe {
+ position: absolute;
+ top: 0;
+ left: 0;
+ max-width: 100%;
+ max-height: 100%;
+}
+body.rtl .tmpl-videopress_iframe_next iframe {
+ left: auto;
+ right: 0;
+} \ No newline at end of file