1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 20:45:55 +00:00

go back to fixed wrapper height because dynamic one breaks layout in chrome :(

This commit is contained in:
Andrew Dolgov
2015-07-07 16:52:43 +03:00
parent 0cf910991e
commit 3cea4a4b75
2 changed files with 2 additions and 4 deletions

View File

@@ -32,9 +32,7 @@ dojo.addOnLoad(function() {
var content = row.select(".cdmContentInner")[0];
if (content) {
var wrapperHeight = Math.round(window.innerHeight * 0.8) + 'px';
content.innerHTML = "<div class='contentSizeWrapper' style='height : "+wrapperHeight+"'>" +
content.innerHTML = "<div class='contentSizeWrapper'>" +
content.innerHTML + "</div><button class='expandPrompt' onclick='return expandSizeWrapper(\""+row.id+"\")' "+
"href='#'>" + __("Click to expand article") + "</button>";