Explorar el Código

Merge pull request #3086 from overleaf/sk-double-fix-v2-template-style

Re-add max-width rule to gallery preview images

GitOrigin-RevId: 8335d3185075ed4049931c29c37cfa8bbb42ee53
Shane Kilkelly hace 6 años
padre
commit
3790dd5863
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      services/web/frontend/stylesheets/app/templates-v2.less

+ 3 - 0
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 */