nice formatting now on errors and results with tricky css

This commit is contained in:
Peter Cottle 2012-09-22 21:59:30 -07:00
parent d647d430d7
commit 04251a3da3
3 changed files with 19 additions and 2 deletions

View file

@ -861,7 +861,9 @@ var Commit = Backbone.Model.extend({
return [
'Author: ' + this.get('author'),
'Date: ' + this.get('createTime'),
'<br/>',
this.get('commitMessage'),
'<br/>',
'Commit: ' + this.get('id')
].join('\n' ) + '\n';
},

View file

@ -177,7 +177,22 @@ p.commandLine, div.commandLineResult {
margin: 0px;
}
p.commandLine div.commandLineWarnings p i.icon-exclamation-point {
div.commandLineWarnings p,
div.commandLineResult p {
margin: 0px;
}
div.commandLineResult p:first-child,
div.commandLineWarnings p:first-child {
padding-top: 8px;
}
div.commandLineResult p:last-child,
div.commandLineWarnings p:last-child {
padding-bottom: 8px;
}
div.commandLineWarnings p i.icon-exclamation-sign {
color: yellow;
margin-right: 5px;
}

View file

@ -192,7 +192,7 @@ GitVisuals.prototype.addBranch = function(branch) {
});
this.visBranchCollection.add(visBranch);
if (this.paperReady) {
visBranch.genGraphics();
visBranch.genGraphics(paper);
}
};