Skip to content

Commit

Permalink
fix: apply the same rules as gallerybox img
Browse files Browse the repository at this point in the history
Fixes: #94
  • Loading branch information
alistair3149 authored Jun 19, 2024
1 parent 4c50d92 commit 899cb1b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions resources/ext.embedVideo.styles.less
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@
}
}

// Use the same syntax used by <img> element in gallerybox (#94)
.gallerybox & {
margin: 0 auto;
display: block;
}

// From core
// We can safely remove this when Parsoid becomes default
&.mw-halign-right {
Expand Down

0 comments on commit 899cb1b

Please sign in to comment.