Explorar o código

Prevent readme images from breaking the layout

Jordi Boggiano %!s(int64=9) %!d(string=hai) anos
pai
achega
403e930360
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      src/Packagist/WebBundle/Resources/public/css/main.css

+ 3 - 0
src/Packagist/WebBundle/Resources/public/css/main.css

@@ -949,6 +949,9 @@ ul.packages .metadata-block:last-child {
   max-height: 300px;
   overflow-y: hidden;
 }
+.wrapper .content .package .readme img {
+  max-width: 100%;
+}
 .wrapper .content .package .readme h1:first-child,
 .wrapper .content .package .readme p:first-child,
 .wrapper .content .package .readme h2:first-child,