Move the mobile reaction button back into the menu
authorAlexander Ebert <ebert@woltlab.com>
Mon, 10 Feb 2020 11:49:04 +0000 (12:49 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Mon, 10 Feb 2020 11:49:04 +0000 (12:49 +0100)
commit2c2bc8b218a836ddcc07287c16fc76272b7ba3f1
tree914bcbf43c60701ed1816b6b78e0d30408922ba8
parent799e09d487474ffd62e93510420946e96504f486
Move the mobile reaction button back into the menu

The separate reaction button was a nice touch, but since it is generated on the fly, this caused the elements to increase their height. Eventually, browsers would to jump to anchors on load, but the reaction buttons would mess up the scroll location.

We should think about redesigning the mobile message view and start displaying at least some buttons. However, this could potentially cause incompatibilities with styles, therefore we need to postpone this to at least 5.3.
wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Like/Handler.js
wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Mobile.js
wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Reaction/Handler.js
wcfsetup/install/files/style/ui/reactions.scss