mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 04:25:54 +08:00
Fix composer header hidden by mobile browser (#2279)
This commit is contained in:
parent
94381dca62
commit
9b27b0d9d7
@ -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…
x
Reference in New Issue
Block a user