mirror of
https://github.com/flarum/framework.git
synced 2025-06-06 07:54:32 +08:00
Change the way composer is aligned
Also ensure that the correct body class is applied on the user page
This commit is contained in:
@ -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));
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user