summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2012-08-14 16:17:30 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2012-08-14 16:17:30 +0200
commita0ae56e074d9c62a1239bd8c3acc1ef865d209c2 (patch)
tree5fcd870c87399f87d1ead756e55707cb2426c13e
parentd6e5a8f02c7481e214a4a2ee7c6d7a9b7e3a2b45 (diff)
set max width for feed title
-rw-r--r--css/news.css2
-rw-r--r--js/news.js3
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'
};