]> git.mxchange.org Git - friendica.git/commitdiff
Limit width of height allocated image to parent width
authorHypolite Petovan <hypolite@mrpetovan.com>
Sat, 7 Oct 2023 10:09:52 +0000 (06:09 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Sat, 7 Oct 2023 10:09:52 +0000 (06:09 -0400)
view/global.css

index ecab5a1c159ea02508124dad8f47abb4316fdc19..f49f8ac5e26510a966847844ed26aa03603717da 100644 (file)
@@ -715,6 +715,7 @@ figure.img-allocated-height {
        position: relative;
        background: center / auto rgba(0, 0, 0, 0.05) url(/images/icons/image.png) no-repeat;
        margin: 0;
+       max-width: 100%;
 }
 figure.img-allocated-height img{
        position: absolute;