Skip to content

Commit

Permalink
Fix composer header hidden by mobile browser (#2279)
Browse files Browse the repository at this point in the history
  • Loading branch information
SychO9 authored Jan 7, 2021
1 parent 94381dc commit 9b27b0d
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', $(window).scrollTop());
this.$().css('top', 0);
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: absolute;
position: fixed;
top: 0;
height: 350px !important;
padding-top: @header-height-phone;
Expand Down

0 comments on commit 9b27b0d

Please sign in to comment.