1
0
mirror of https://github.com/chylex/TweetDuck.git synced 2025-05-11 02:34:08 +02:00

Add scrollbar to large popup notifications and display quoted tweets in the notification

Closes 
This commit is contained in:
chylex 2016-05-11 16:59:06 +02:00
parent cc7fc7e994
commit 40acb49011
2 changed files with 2 additions and 10 deletions
Core/Handling
Resources

View File

@ -92,7 +92,7 @@ public string GenerateHtml(){
build.Append("<!DOCTYPE html>");
build.Append("<html class='os-windows txt-base-").Append(FontSizeClass).Append("'>");
build.Append("<head>").Append(HeadTag).Append("</head>");
build.Append("<body class='hearty'><div class='app-columns-container'><div class='column' style='width:100%'>");
build.Append("<body class='hearty'><div class='app-columns-container'><div class='column scroll-styled-v' style='width:100%;overflow-y:auto'>");
build.Append(html);
build.Append("</div></div></body>");
build.Append("</html>");

View File

@ -91,17 +91,9 @@
}));
html.css("border","0");
html.find(".tweet-body").first().children("footer").remove();
var url = html.find("time").first().children("a").first().attr("href") || "";
var body = html.find(".tweet-body").first();
body.children("div.js-quote-detail").each(function(){
$(this).html("(quoted tweet)");
$(this).removeClass("padding-al");
$(this).css("padding","6px");
});
body.children("footer").remove();
$TD.onTweetPopup(html.html(),url,tweet.text.length); // TODO column
}