From: Andrew Dolgov Date: Tue, 7 Jul 2015 13:52:43 +0000 (+0300) Subject: go back to fixed wrapper height because dynamic one breaks layout in chrome :( X-Git-Tag: 16.3~241^2 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=3cea4a4b758768770366d132393a026ee2d8a430;p=tt-rss.git go back to fixed wrapper height because dynamic one breaks layout in chrome :( --- diff --git a/plugins/shorten_expanded/init.css b/plugins/shorten_expanded/init.css index ed511687..920e3841 100644 --- a/plugins/shorten_expanded/init.css +++ b/plugins/shorten_expanded/init.css @@ -1,7 +1,7 @@ div.contentSizeWrapper { overflow : hidden; text-overflow: ellipsis; - /*height : 700px;*/ + height : 800px; } button.expandPrompt { diff --git a/plugins/shorten_expanded/init.js b/plugins/shorten_expanded/init.js index 11ecbc5d..4d80f840 100644 --- a/plugins/shorten_expanded/init.js +++ b/plugins/shorten_expanded/init.js @@ -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 = "
" + + content.innerHTML = "
" + content.innerHTML + "
";