diff --git a/4chan_x.user.js b/4chan_x.user.js index e96860077..9f3d860ff 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -2124,7 +2124,7 @@ var props, watched, _name; props = { href: "/" + g.BOARD + "/res/" + id, - textContent: getTitle(thread).slice(0, 30) + textContent: getTitle(thread) }; watched = $.get('watched', {}); watched[_name = g.BOARD] || (watched[_name] = {}); @@ -3251,6 +3251,9 @@ \ #watcher {\ position: absolute;\ + width: 250px;\ + overflow: hidden;\ + white-space: nowrap;\ }\ #watcher > div {\ padding-right: 5px;\ diff --git a/script.coffee b/script.coffee index 112c4f2f2..4c9393f4b 100644 --- a/script.coffee +++ b/script.coffee @@ -1614,7 +1614,7 @@ watcher = watch: (thread, id) -> props = href: "/#{g.BOARD}/res/#{id}" - textContent: getTitle(thread)[...30] + textContent: getTitle(thread) watched = $.get 'watched', {} watched[g.BOARD] or= {} @@ -2510,6 +2510,9 @@ Main = #watcher { position: absolute; + width: 250px; + overflow: hidden; + white-space: nowrap; } #watcher > div { padding-right: 5px;