Skip to content
This repository has been archived by the owner on Mar 25, 2023. It is now read-only.

Commit

Permalink
Revert "Fix composer header hidden by mobile browser (flarum#2279)"
Browse files Browse the repository at this point in the history
This reverts commit 1e37cc0.
  • Loading branch information
matteocontrini committed Feb 22, 2021
1 parent b9f83bb commit c1e64a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/src/forum/components/Composer.js
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ export default class Composer extends Component {
this.animateHeightChange().then(() => this.focus());

if (app.screen() === 'phone') {
this.$().css('top', 0);
this.$().css('top', $(window).scrollTop());
this.showBackdrop();
}
}
Expand Down
2 changes: 1 addition & 1 deletion less/forum/Composer.less
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
background: @body-bg;

&:not(.minimized) {
position: fixed;
position: absolute;
top: 0;
height: 350px !important;
padding-top: @header-height-phone;
Expand Down

0 comments on commit c1e64a0

Please sign in to comment.