1
0
mirror of https://github.com/flarum/core.git synced 2025-10-11 23:14:29 +02:00

Improve composer appearance/usability on mobile

On mobile:
- Move submit button to right side of toolbar
- Move first header item to toolbar
- Size textarea correctly
This commit is contained in:
Toby Zerner
2015-11-21 13:16:05 +10:30
parent 1f4e03d1fa
commit 6374f92676
6 changed files with 29 additions and 9 deletions

View File

@@ -71,8 +71,7 @@ export default class CommentPost extends Post {
isEditing() {
return app.composer.component instanceof EditPostComposer &&
app.composer.component.props.post === this.props.post &&
app.composer.position !== Composer.PositionEnum.MINIMIZED;
app.composer.component.props.post === this.props.post;
}
attrs() {