Merge pull request #2499 from fabrixxm/issue_mobile_iframe_embed
small fix to embed iframes on mobile
This commit is contained in:
commit
1bf67c2048
1 changed files with 4 additions and 0 deletions
|
@ -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%;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue