From 899cb1b9a8532caba3ded16e3fde2afc08ab4960 Mon Sep 17 00:00:00 2001 From: alistair3149 Date: Wed, 19 Jun 2024 14:35:41 -0400 Subject: [PATCH] fix: apply the same rules as gallerybox img Fixes: #94 --- resources/ext.embedVideo.styles.less | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/resources/ext.embedVideo.styles.less b/resources/ext.embedVideo.styles.less index 7cf9f20..04dd412 100644 --- a/resources/ext.embedVideo.styles.less +++ b/resources/ext.embedVideo.styles.less @@ -45,6 +45,12 @@ } } + // Use the same syntax used by element in gallerybox (#94) + .gallerybox & { + margin: 0 auto; + display: block; + } + // From core // We can safely remove this when Parsoid becomes default &.mw-halign-right {