check both repos.isLoaded and repos.length before rendering empty; set height to 100%

This commit is contained in:
Sven Fuchs 2012-10-19 02:45:55 +02:00
parent 45cc6a47e3
commit eca5d1902f
2 changed files with 2 additions and 1 deletions

View File

@ -10,7 +10,7 @@
).property('repo.isComplete')
isEmpty: (->
@get('repos.length') == 0
@get('repos.isLoaded') && @get('repos.length') == 0
).property('repos.length')
urlGithub: (->

View File

@ -13,6 +13,7 @@ html, body
.application, .application > div
width: 100%
min-height: 100%
height: 100%
.application > div
overflow-x: auto