mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 06:25:58 +00:00
fix headlines height for Opera
This commit is contained in:
@@ -424,6 +424,15 @@ function init_second_stage() {
|
||||
|
||||
if (navigator.userAgent.match("Opera")) {
|
||||
resize_feeds_frame();
|
||||
|
||||
// fix headlines frame height for Opera
|
||||
var h = document.getElementById("headlines");
|
||||
var c = document.getElementById("content");
|
||||
var nh = document.body.scrollHeight * 0.25;
|
||||
|
||||
h.style.height = nh + "px";
|
||||
c.style.height = c.scrollHeight - nh + "px";
|
||||
|
||||
}
|
||||
|
||||
} catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user