Skip to content

Commit

Permalink
fix: Add valign styles
Browse files Browse the repository at this point in the history
Fixes #77
  • Loading branch information
octfx committed May 4, 2024
1 parent 75183aa commit 00345ce
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions resources/ext.embedVideo.styles.less
Original file line number Diff line number Diff line change
Expand Up @@ -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%;
Expand Down

0 comments on commit 00345ce

Please sign in to comment.