mirror of
https://github.com/flarum/framework.git
synced 2025-02-07 16:01:03 +08:00
Fix composer header hidden by mobile browser (#2279)
This commit is contained in:
parent
fb7ffc2351
commit
f6478096ee
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -114,7 +114,7 @@
|
|||
background: @body-bg;
|
||||
|
||||
&:not(.minimized) {
|
||||
position: absolute;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
height: 350px !important;
|
||||
padding-top: @header-height-phone;
|
||||
|
|
Loading…
Reference in New Issue
Block a user