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

Force word-break on links using CSS instead of mouseover event

This commit is contained in:
chylex 2016-04-27 03:12:38 +02:00
parent f8e14cb900
commit 841faf9124

View File

@ -216,7 +216,6 @@
expanded = cutStart(expanded,"http://");
expanded = cutStart(expanded,"www.");
me.css("word-break","break-all");
me.attr("td-prev-text",text);
me.text(expanded);
}
@ -281,5 +280,8 @@
// tweet actions
sheet.insertRule(".tweet-actions { float: right !important; width: auto !important; visibility: hidden; }",0);
sheet.insertRule(".tweet-actions:hover { visibility: visible; }",0);
// break long urls
sheet.insertRule("a[data-full-url] { word-break: break-all; }",0);
})();
})($,$TD,TD);