UX: Position loading spinner properly on user pages

This commit is contained in:
Robin Ward 2014-11-12 13:57:59 -05:00
parent 4090ed226a
commit 02abcd03fb
3 changed files with 20 additions and 21 deletions

View File

@ -3,7 +3,7 @@
var classify = Ember.String.classify;
var get = Ember.get;
var LOADING_WHITELIST = ['badges', 'userActivity', 'userPrivateMessages', 'admin', 'adminFlags'],
var LOADING_WHITELIST = ['badges', 'userActivity', 'userPrivateMessages', 'admin', 'adminFlags', 'user', 'preferences'],
_dummyRoute,
_loadingView;

View File

@ -187,7 +187,9 @@
{{/if}}
</section>
<section class='user-right'>
{{outlet}}
</section>
</section>
</div>

View File

@ -141,15 +141,18 @@
}
}
.user-right {
width: 75%;
float: right;
margin-top: 20px;
}
.user-content {
padding: 10px 8px;
background-color: $secondary;
border: 1px solid scale-color-diff();
margin-bottom: 10px;
box-sizing: border-box;
width: 75%;
float: right;
margin-top: 20px;
.btn.right {
float: right
@ -394,8 +397,6 @@
.user-stream {
float: right;
width: 75%;
.excerpt {
margin: 5px 0;
font-size: 13px;
@ -574,10 +575,6 @@
}
.paginated-topics-list {
float: right;
width: 75%;
margin-top: 20px;
.topic-list > tbody > tr:nth-child(odd) {
background-color: darken($secondary, 3%);
}