Move branch icon value to content attribute

This commit is contained in:
Kevin Sawicki 2012-12-11 16:48:56 -08:00
parent bb7b3b8a6d
commit 707996dcb1
2 changed files with 5 additions and 1 deletions

View File

@ -25,7 +25,7 @@ class StatusBar extends View
@div class: 'cursor-position', =>
@span class: 'octicons', outlet: 'gitStatusIcon'
@span outlet: 'branchArea', =>
@span '\uf020', class: 'octicons'
@span class: 'octicons branch-icon'
@span class: 'branch-label', outlet: 'branchLabel'
@span outlet: 'cursorPosition'

View File

@ -33,6 +33,10 @@
height: 14px;
}
.status-bar .branch-icon:before {
content: "\f020";
}
.status-bar .branch-label {
padding-left: 5px;
padding-right: 10px;