Limit width of height allocated image to parent width
This commit is contained in:
parent
182a3a4663
commit
b8ead0539f
1 changed files with 1 additions and 0 deletions
|
@ -715,6 +715,7 @@ figure.img-allocated-height {
|
||||||
position: relative;
|
position: relative;
|
||||||
background: center / auto rgba(0, 0, 0, 0.05) url(/images/icons/image.png) no-repeat;
|
background: center / auto rgba(0, 0, 0, 0.05) url(/images/icons/image.png) no-repeat;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
figure.img-allocated-height img{
|
figure.img-allocated-height img{
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
Loading…
Reference in a new issue