From 2b3688b6f3688be983a693cd358a4659d23a3be0 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Wed, 5 Jun 2013 11:54:44 -0400 Subject: [PATCH 1/3] updated rss feeds to work on chrome --- src/webserver.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/webserver.js b/src/webserver.js index 3a9d4a692b..9db1caa53d 100644 --- a/src/webserver.js +++ b/src/webserver.js @@ -101,7 +101,10 @@ var express = require('express'), res.send("Unable to locate an rss feed at this location."); return; } - res.send(data); + + res.setHeader('Content-Type', 'application/xml'); + res.setHeader('Content-Length', data.length); + res.end(data); }); return; } @@ -125,7 +128,10 @@ var express = require('express'), res.send("Unable to locate an rss feed at this location."); return; } - res.send(data); + + res.setHeader('Content-Type', 'application/xml'); + res.setHeader('Content-Length', data.length); + res.end(data); }); return; } From 1d9dd604c046b9d240ccf3843588cf464f37fc74 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Wed, 5 Jun 2013 11:59:09 -0400 Subject: [PATCH 2/3] prevent new topic button from overlapping in mobile --- public/css/category.less | 4 ++++ public/templates/category.tpl | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/public/css/category.less b/public/css/category.less index 17ede00df7..7c45d1f087 100644 --- a/public/css/category.less +++ b/public/css/category.less @@ -1,5 +1,9 @@ .category { + .span9 { + margin-bottom: 50px; + } + a { li { list-style: none; diff --git a/public/templates/category.tpl b/public/templates/category.tpl index 1a11a5d051..8f17449a73 100644 --- a/public/templates/category.tpl +++ b/public/templates/category.tpl @@ -10,7 +10,6 @@ Why don't you try posting one?
-
    From a08fbf4591067c73a619b2431be25c6188f1f518 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Wed, 5 Jun 2013 12:11:20 -0400 Subject: [PATCH 3/3] reduce avatar size in sidebar responsively --- public/css/category.less | 5 +++++ public/templates/category.tpl | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/public/css/category.less b/public/css/category.less index 7c45d1f087..2024c6d9e2 100644 --- a/public/css/category.less +++ b/public/css/category.less @@ -196,6 +196,11 @@ } .block-content { padding: 10px; + .img-polaroid { + width: 20%; + height: auto; + max-width: 48px; + } } border-radius: 5px; diff --git a/public/templates/category.tpl b/public/templates/category.tpl index 8f17449a73..39ccda6c94 100644 --- a/public/templates/category.tpl +++ b/public/templates/category.tpl @@ -68,7 +68,7 @@
- +
@@ -78,7 +78,7 @@
- +