go back to fixed wrapper height because dynamic one breaks layout in chrome :(
This commit is contained in:
parent
0cf910991e
commit
3cea4a4b75
|
@ -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>";
|
||||
|
||||
|
|
Loading…
Reference in New Issue