mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 06:55:46 +01:00
responsive fixes for new composer
This commit is contained in:
@@ -385,6 +385,8 @@ define(['taskbar'], function(taskbar) {
|
|||||||
|
|
||||||
if (bodyRect.width >= 768) {
|
if (bodyRect.width >= 768) {
|
||||||
composer.postContainer.style.width = Math.floor(bodyRect.width * percentage) + 'px';
|
composer.postContainer.style.width = Math.floor(bodyRect.width * percentage) + 'px';
|
||||||
|
} else {
|
||||||
|
composer.postContainer.style.width = '100%';
|
||||||
}
|
}
|
||||||
|
|
||||||
composer.postContainer.style.visibility = 'visible';
|
composer.postContainer.style.visibility = 'visible';
|
||||||
|
|||||||
Reference in New Issue
Block a user