mirror of
https://github.com/discourse/discourse.git
synced 2025-02-27 18:57:40 +08:00

In some rare cases, this was causing the input to be invisible. The change here means the input will have a smaller max height, but since here we are limiting this to 25% of the viewport height, it should be more than fine. It's also not necessary to include the `chat-header-offset`, it ends up being only a few pixels' difference (since, again, it is divided by 4).