mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 11:05:55 +00:00
go back to fixed wrapper height because dynamic one breaks layout in chrome :(
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
div.contentSizeWrapper {
|
||||
overflow : hidden;
|
||||
text-overflow: ellipsis;
|
||||
/*height : 700px;*/
|
||||
height : 800px;
|
||||
}
|
||||
|
||||
button.expandPrompt {
|
||||
|
||||
@@ -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>";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user