Merge pull request #410 from rugk/fixWindowsWitdh

Fix x overflow on Windows with native emojis
release
Etienne Lemay 2020-03-16 09:15:32 -04:00 committed by GitHub
commit cf4a1043f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -87,6 +87,7 @@
.emoji-mart-scroll { .emoji-mart-scroll {
overflow-y: scroll; overflow-y: scroll;
overflow-x: hidden; /* prevents system emojis with bigger width from displaying a scroll bar, see https://github.com/missive/emoji-mart/issues/409 */
height: 270px; height: 270px;
padding: 0 6px 6px 6px; padding: 0 6px 6px 6px;
will-change: transform; /* avoids "repaints on scroll" in mobile Chrome */ will-change: transform; /* avoids "repaints on scroll" in mobile Chrome */