From 3790dd586306d37b586bf182c1fd7587e45c0d38 Mon Sep 17 00:00:00 2001 From: Shane Kilkelly Date: Fri, 7 Aug 2020 15:05:52 +0100 Subject: [PATCH] Merge pull request #3086 from overleaf/sk-double-fix-v2-template-style Re-add max-width rule to gallery preview images GitOrigin-RevId: 8335d3185075ed4049931c29c37cfa8bbb42ee53 --- services/web/frontend/stylesheets/app/templates-v2.less | 3 +++ 1 file changed, 3 insertions(+) diff --git a/services/web/frontend/stylesheets/app/templates-v2.less b/services/web/frontend/stylesheets/app/templates-v2.less index d4095e39c5..0c9cf5da99 100644 --- a/services/web/frontend/stylesheets/app/templates-v2.less +++ b/services/web/frontend/stylesheets/app/templates-v2.less @@ -90,6 +90,9 @@ .gallery-large-pdf-preview { border: solid 1px @gray-lightest; margin-top: @margin-lg; + img { + max-width: 100%; + } } /* Media Queries */