* Note that this just an extraction of inline styles that are
already present in the output.
Change-Id: I718f16dfbb2c4122ac9fb4a714b607da3e62d5a0
border: 1px solid #eaecf0;
}
}
border: 1px solid #eaecf0;
}
}
+
+/**
+ * Avoid the need to calculate paddings individually
+ * https://stackoverflow.com/a/7310398
+ */
+.mw-gallery-traditional .gallerybox .thumb {
+ &:before {
+ content: '';
+ vertical-align: middle;
+ display: inline-block;
+ height: 100%;
+ }
+ > * {
+ vertical-align: middle;
+ display: inline-block;
+ }
+}