From 3eed3b4b016e53e4e8e59b827691bf6fb5b0a0d4 Mon Sep 17 00:00:00 2001 From: Eugene Fox Date: Wed, 9 Jul 2025 00:49:09 +0300 Subject: [PATCH] fix: list view horizontal overflow in sidebar on firefox --- .../layouts/collections/CollectionListView.styles.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/entrypoints/sidepanel/layouts/collections/CollectionListView.styles.ts b/entrypoints/sidepanel/layouts/collections/CollectionListView.styles.ts index cd13917..4faa635 100644 --- a/entrypoints/sidepanel/layouts/collections/CollectionListView.styles.ts +++ b/entrypoints/sidepanel/layouts/collections/CollectionListView.styles.ts @@ -46,6 +46,10 @@ export const useStyles_CollectionListView = makeStyles({ listView: { display: "grid", - gridTemplateColumns: "repeat(auto-fit, minmax(360px, 1fr))" + + "@media screen and (min-width: 360px)": + { + gridTemplateColumns: "repeat(auto-fit, minmax(360px, 1fr))" + } } });