Permalink
Browse files

minor tweaks, pre code css was overflowing

  • Loading branch information...
1 parent 9923c81 commit 1070dba3e6c9a92d7afeffff59940b3a262cdbd6 @jeromegn committed Jul 28, 2012
Showing with 3 additions and 2 deletions.
  1. +2 −1 app/models/project.coffee
  2. +1 −1 app/stylesheets/screen.styl
@@ -6,7 +6,6 @@ redis = require("../../config/redis")
config = require("../../config")
ns = config.redis.namespace
-github = new Github()
class Project
@defaults =
@@ -124,6 +123,8 @@ class Project
# Gets the readme and config from Github
update: (callback)->
+ github = new Github()
+
Async.parallel
config: (done)=>
Async.waterfall [
@@ -184,7 +184,7 @@ a {
line-height: 1.5;
}
code { background: #f7f8f1; padding: 1px 2px; border: 1px solid #CCCCCC; }
- pre code {padding: 10px 12px; word-wrap: normal; }
+ pre code {padding: 10px 12px; word-wrap: normal; overflow-y: auto; }
tt { display: block; margin: 1.625em 0; }
hr { margin-bottom:1.625em; }

0 comments on commit 1070dba

Please sign in to comment.