Change the way composer is aligned

Also ensure that the correct body class is applied on the user page
This commit is contained in:
Toby Zerner 2015-08-04 10:49:33 +09:30
parent 0fcc941a51
commit a3e710b8a9
2 changed files with 9 additions and 6 deletions

View File

@ -89,7 +89,9 @@ export default class ActivityPage extends UserPage {
this.loading = true;
this.activity = [];
m.redraw();
// Redraw, but only if we're not in the middle of a route change.
m.startComputation();
m.endComputation();
this.loadResults().then(this.parseResults.bind(this));
}

View File

@ -209,6 +209,7 @@
right: 0;
margin: 0;
height: auto;
border-radius: 0;
}
}
.Composer-controls {
@ -271,12 +272,12 @@
@media @desktop-up {
.Composer:not(.fullScreen) {
margin-left: -20px;
margin-right: 180px;
margin-left: 205px;
margin-right: -20px;
.App--index & {
margin-left: 205px;
margin-right: -20px;
.App--discussion & {
margin-left: -20px;
margin-right: 180px;
}
}
}