diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2012-08-14 16:17:30 +0200 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2012-08-14 16:17:30 +0200 |
commit | a0ae56e074d9c62a1239bd8c3acc1ef865d209c2 (patch) | |
tree | 5fcd870c87399f87d1ead756e55707cb2426c13e | |
parent | d6e5a8f02c7481e214a4a2ee7c6d7a9b7e3a2b45 (diff) |
set max width for feed title
-rw-r--r-- | css/news.css | 2 | ||||
-rw-r--r-- | js/news.js | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/css/news.css b/css/news.css index 986483225..b44c832d5 100644 --- a/css/news.css +++ b/css/news.css @@ -76,7 +76,7 @@ div.feed_controls { } div.feed_controls div.feed_title h1 { - width: 450px; + max-width: 450px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; diff --git a/js/news.js b/js/news.js index bf1f36ad4..30f3e56c1 100644 --- a/js/news.js +++ b/js/news.js @@ -241,17 +241,14 @@ News={ }); }, filter:function(value){ - // TODO: safe this on the server var data; switch(value){ case 'all': - $("#feed_items .feed_item").show(); data = { show: 'all' }; break; case 'unread': - $("#feed_items .feed_item.read").hide(); data = { show: 'unread' }; |