Fix bottom margin for thumbs

Follow up to 7eb9972 where the ordering of margins for .tright and .tleft
and .thumb reversed, giving the latter higher precedence.

A consequence of this patch is that the margin is now applied to print
styling as well.  However, that seems consistent with all the other
thumbnail margins and really only affects "center" and "none", where
this bottom border isn't overwritten.

Change-Id: Idd9ba6adbaee3de8cc9a689314debaa0eb31f9d3
This commit is contained in:
Arlo Breault 2021-12-10 11:52:26 -05:00
parent 10aee72aa8
commit 8190a51c43
2 changed files with 6 additions and 8 deletions

View file

@ -35,6 +35,12 @@ table.floatleft {
margin: @margin-floatleft;
}
div.thumb {
width: auto;
background-color: transparent;
margin-bottom: @margin-bottom-thumb;
}
/* @noflip */
div.tleft {
margin: @margin-tleft;
@ -51,11 +57,6 @@ div.tright {
padding: 3px;
}
div.thumb {
width: auto;
background-color: transparent;
}
div.thumbinner {
padding: 3px;
text-align: center;

View file

@ -10,9 +10,6 @@
@import 'variables.less';
/* Thumbnails */
div.thumb {
margin-bottom: @margin-bottom-thumb;
}
div.thumbinner {
border: @border-thumbinner-screen;