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:
parent
f8e14cb900
commit
841faf9124
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user