small fix to embed iframes on mobile

This commit is contained in:
Fabrixxm 2016-05-02 14:17:55 +02:00
parent 3d3cde2aed
commit 9a6cfcfd88
1 changed files with 4 additions and 0 deletions

View File

@ -103,6 +103,10 @@ nav ul {
.children .wall-item-container .wall-item-item .wall-item-content img {
max-width: 100%;
}
iframe.embed_rich { width: 100% !important }
/* TODO: check if this is needed.
* oembedded iframe usually have "width" and "height" as attributes
* that override this rule */
iframe {
max-width: 100%;
}