Made full article view of news full-screen on any screen size

This commit is contained in:
Thomas Bachmann 2017-01-07 22:42:11 +01:00
parent b8a72245dc
commit 443a90c7ba

View File

@ -171,7 +171,10 @@ Module.register("newsfeed",{
var fullArticle = document.createElement("iframe");
fullArticle.className = "";
fullArticle.style.width = "100%";
fullArticle.style.height = "1735px";
fullArticle.style.top = "0";
fullArticle.style.left = "0";
fullArticle.style.position = "fixed";
fullArticle.height = window.innerHeight;
fullArticle.style.border = "none";
fullArticle.src = this.newsItems[this.activeItem].url;
wrapper.appendChild(fullArticle);