1
0
mirror of https://github.com/flarum/core.git synced 2025-06-10 00:25:07 +02:00

Fix composer header hidden by mobile browser (#2279)

This commit is contained in:
Sami Mazouz 2021-01-07 16:25:12 +01:00 committed by GitHub
parent fb7ffc2351
commit f6478096ee
2 changed files with 2 additions and 2 deletions

View File

@ -265,7 +265,7 @@ export default class Composer extends Component {
this.animateHeightChange().then(() => this.focus()); this.animateHeightChange().then(() => this.focus());
if (app.screen() === 'phone') { if (app.screen() === 'phone') {
this.$().css('top', $(window).scrollTop()); this.$().css('top', 0);
this.showBackdrop(); this.showBackdrop();
} }
} }

View File

@ -114,7 +114,7 @@
background: @body-bg; background: @body-bg;
&:not(.minimized) { &:not(.minimized) {
position: absolute; position: fixed;
top: 0; top: 0;
height: 350px !important; height: 350px !important;
padding-top: @header-height-phone; padding-top: @header-height-phone;