/**
 * slack.com - Visible scrollbars in the emoji picker
 * Bug #1690158 - https://bugzilla.mozilla.org/show_bug.cgi?id=1690158
 *
 * The emoji picker in Slack's web version is using ::-webkit-scrollbar for
 * custom scrollbar styling, which is not supported in Firefox. On a system
 * with always-visible scrollbars, this causes a double scroll bar to be
 * visible.
 * This intervention always hides the "outer" scrollbar, while keeping the
 * "inner" scroll bar visible on hover, essentially matching Chrome's
 * behavior.
 */

.p-emoji_picker__list_container,
.p-emoji_picker__list_scroller {
  scrollbar-width: none;
}

.p-emoji_picker__list_container:hover .p-emoji_picker__list_scroller {
  scrollbar-width: thin;
}
