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:
parent
fb7ffc2351
commit
f6478096ee
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user