mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-06 23:52:58 +01:00
triggering full-screen composer on short viewports as well as narrow, #2763
This commit is contained in:
@@ -25,7 +25,7 @@ define('composer/resize', function() {
|
||||
}
|
||||
}
|
||||
|
||||
if (env === 'sm' || env === 'xs') {
|
||||
if (env === 'sm' || env === 'xs' || window.innerHeight < 480) {
|
||||
app.toggleNavbar(false);
|
||||
postContainer.css('height', $(window).height());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user