Respect the alignment specified by the image directive

This commit is contained in:
Kaylynn Morgan authored and Rapptz committed 2022-03-05 21:05:46 -05:00
1 parent 1c4dca431d
commit a317ceb44a
1 file changed
+9
+9
View File
@@ -1147,6 +1147,15 @@ table.docutils tbody tr td ol.last {
margin-bottom: 0;
}
/* added when the `align` attribute is specified in the `image` directive */
main img.align-left {
margin-left: .5em;
}
main img.align-right {
margin-right: .5em;
}
.align-default {
text-align: left !important;
}