Permalink
Browse files

fixed spacing issue for mobile

  • Loading branch information...
1 parent 322536f commit eade6d3e806308cbd244e2df57ae72ffe4052988 @sukhada committed Mar 15, 2013
Showing with 4 additions and 4 deletions.
  1. +1 −1 home.html
  2. +3 −3 reddit.js
View
@@ -14,7 +14,7 @@
<a href="#" id="pic"></a>
<span id="apptitle">customReddit</span>
<li><a href="#" id="open">Add Subreddit+</a></li>
- <span id="refresh">Refresh</span>
+ <!--<span id="refresh">Refresh</span>-->
</nav>
<div class="modal hide">
View
@@ -170,8 +170,8 @@ function frontPage(result) {
else {
var height = $("li").each(function() {
var height = $(this).outerHeight();
- $(this).children("span.upvotes").css("height", (height+15)+'px');
- $(this).children("span.upvotes").css("line-height", (height+15)+'px');
+ $(this).children("span.upvotes").css("height", (height+20)+'px');
+ $(this).children("span.upvotes").css("line-height", (height+20)+'px');
});
}
@@ -215,7 +215,7 @@ window.onload = function() {
$(".image").css("max-width", $(window).width());
$(".image").css("max-width", $(window).height());
$("#apptitle").css("font-size", "14px");
- $("#apptitle").css("margin-top", "26px");
+ $("#apptitle").css("margin-top", "27px");
$("#refresh").css("margin-top", "0px");
$("#refresh").css("margin-right", "5px");

0 comments on commit eade6d3

Please sign in to comment.