From 00345ce8dbd050134f3b9cfe84ce47da2aa9cb0d Mon Sep 17 00:00:00 2001 From: "H. C. Kruse" Date: Sat, 4 May 2024 19:12:19 +0200 Subject: [PATCH] fix: Add valign styles Fixes #77 --- resources/ext.embedVideo.styles.less | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/resources/ext.embedVideo.styles.less b/resources/ext.embedVideo.styles.less index 8746418..7cf9f20 100644 --- a/resources/ext.embedVideo.styles.less +++ b/resources/ext.embedVideo.styles.less @@ -89,6 +89,33 @@ } } + &.mw-valign { + &-middle { + vertical-align: middle; + } + &-baseline { + vertical-align: baseline; + } + &-sub { + vertical-align: sub; + } + &-super { + vertical-align: super; + } + &-top { + vertical-align: top; + } + &-text-top { + vertical-align: text-top; + } + &-bottom { + vertical-align: bottom; + } + &-text-bottom { + vertical-align: text-bottom; + } + } + figcaption { // Same as skinning core font-size: 88.4%;