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 ecb1023c66
commit 00e5f94bce
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.loading = true;
this.activity = []; 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)); this.loadResults().then(this.parseResults.bind(this));
} }

View File

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