Merge pull request #2499 from fabrixxm/issue_mobile_iframe_embed

small fix to embed iframes on mobile
This commit is contained in:
Michael Vogel 2016-05-02 14:56:00 +02:00
commit 1bf67c2048

View File

@ -103,6 +103,10 @@ nav ul {
.children .wall-item-container .wall-item-item .wall-item-content img { .children .wall-item-container .wall-item-item .wall-item-content img {
max-width: 100%; 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 { iframe {
max-width: 100%; max-width: 100%;
} }