{({ top }) => (
<section
aria-label={translate('filters')}
- className="sw-overflow-y-auto"
+ className="sw-overflow-y-auto project-filters-list"
style={{ height: `calc((100vh - ${top}px) - 60px)` }} // 60 for the footer
>
<div className="sw-w-[300px] lg:sw-w-[390px]">
~ .search-navigator-facet-worse-than-highlight {
background-color: #a1cde8;
}
+
+.project-filters-list {
+ /*
+ * On Firefox on Windows, the scrollbar hides the sidebar's content.
+ * Using 'scrollbar-gutter:stable' is a workaround to ensure consistency with other browsers.
+ * @see https://bugzilla.mozilla.org/show_bug.cgi?id=764076
+ */
+ scrollbar-gutter: stable;
+}