Respect the alignment specified by the image directive

This commit is contained in:
Kaylynn Morgan 2022-03-01 17:00:29 +11:00 committed by Rapptz
parent 1c4dca431d
commit a317ceb44a

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;
}