From e8824f4bd71dfdf3426d52e3fa3ec9b1751af352 Mon Sep 17 00:00:00 2001 From: Isarra Date: Thu, 12 Sep 2019 19:09:52 +0000 Subject: [PATCH] Prevent thumbnails from overflowing their backgrounds when coupled with random other floats where they don't fit Example: https://en.wikipedia.org/w/index.php?title=Goose_River_(Belfast_Bay)&oldid=893300681 Change-Id: I7b4c78304c57a32f9ac4684b21a6b70d3f61a7c8 --- resources/screen-common.less | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/screen-common.less b/resources/screen-common.less index 33ba040..e58facb 100644 --- a/resources/screen-common.less +++ b/resources/screen-common.less @@ -592,6 +592,7 @@ ul { /* Properly center framed thumbnail images (T219717) */ margin-left: auto; margin-right: auto; + overflow: hidden; } .thumbcaption {