mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-07-03 22:36:09 +00:00
Put article ifram in front of modules
Before this change the article was brought up in its ifram in fullscreen and you could still see the other modules in front of it
This commit is contained in:
parent
d167ad1923
commit
f299ba6218
@ -9,6 +9,9 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|||||||
- Add system notification `MODULE_DOM_CREATED` for notifying each module when their Dom has been fully loaded.
|
- Add system notification `MODULE_DOM_CREATED` for notifying each module when their Dom has been fully loaded.
|
||||||
- Add types for module.
|
- Add types for module.
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
- News article in fullscreen (iframe) is now shown in front of modules.
|
||||||
|
|
||||||
*This release is scheduled to be released on 2018-04-01.*
|
*This release is scheduled to be released on 2018-04-01.*
|
||||||
|
|
||||||
## [2.2.2] - 2018-01-02
|
## [2.2.2] - 2018-01-02
|
||||||
|
@ -186,6 +186,7 @@ Module.register("newsfeed",{
|
|||||||
fullArticle.height = window.innerHeight;
|
fullArticle.height = window.innerHeight;
|
||||||
fullArticle.style.border = "none";
|
fullArticle.style.border = "none";
|
||||||
fullArticle.src = this.newsItems[this.activeItem].url;
|
fullArticle.src = this.newsItems[this.activeItem].url;
|
||||||
|
fullArticle.style.zIndex = 1;
|
||||||
wrapper.appendChild(fullArticle);
|
wrapper.appendChild(fullArticle);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user