Use jumbo emoji for short emoji-only messages (#207)
authorEmi <tts1848@cs.rit.edu>
Mon, 27 Dec 2021 04:54:07 +0000 (23:54 -0500)
committerGitHub <noreply@github.com>
Mon, 27 Dec 2021 04:54:07 +0000 (10:24 +0530)
commit6ff339b552e242f6233abd86768bb2373b150f77
tree804287a139aca63dce746cd0fca04bfcf7120fd6
parent9854f4eb2d4b7fb90f063a29703b8a348de0aafb
Use jumbo emoji for short emoji-only messages (#207)

* Display messages containing only <7 emoji bigger

* Amending PR: Address mentioned concerns

This fixes several concerns raised during the PR review process.  A summary of the changes
implemented is below:
- Size jumbo emoji using the text-h1 class, instead of hardcoding a size
- Increase the emoji limit to 10
- Re-wrap m.text messages in a p tag, fixing a bug where newlines were lost
src/app/molecules/message/Message.jsx
src/app/molecules/message/Message.scss