+
{filter}
diff --git a/src/renderer/src/pages/catalogue/filter-section.tsx b/src/renderer/src/pages/catalogue/filter-section.tsx
index 0569ba9d..ecd00dfe 100644
--- a/src/renderer/src/pages/catalogue/filter-section.tsx
+++ b/src/renderer/src/pages/catalogue/filter-section.tsx
@@ -1,9 +1,8 @@
import { CheckboxField, TextField } from "@renderer/components";
import { useFormat } from "@renderer/hooks";
import { useCallback, useMemo, useState } from "react";
-
+import "./filter.scss";
import List from "rc-virtual-list";
-import { vars } from "@renderer/theme.css";
import { useTranslation } from "react-i18next";
export interface FilterSectionProps {
@@ -54,36 +53,18 @@ export function FilterSection({
return (
-
+
{selectedItemsCount > 0 ? (
) : (
-
+
{t("filter_count", {
filterCount: formatNumber(items.length),
})}
@@ -102,7 +83,7 @@ export function FilterSection({
placeholder={t("search")}
onChange={(e) => onSearch(e.target.value)}
value={search}
- containerProps={{ style: { marginBottom: 16 } }}
+ containerProps={{ className: "filter-section__search" }}
theme="dark"
/>
@@ -122,7 +103,7 @@ export function FilterSection({
}}
>
{(item) => (
-