From b10801167a0b75de4b5367725800df8767114ae0 Mon Sep 17 00:00:00 2001 From: Nitin Kumar Yadav Date: Sun, 15 Feb 2026 01:29:25 +0530 Subject: [PATCH 1/4] fix: column dropdown visibility and z-index in dark theme --- frontend/src/components/CollectionTable.jsx | 49 ++++++++++++--------- 1 file changed, 27 insertions(+), 22 deletions(-) diff --git a/frontend/src/components/CollectionTable.jsx b/frontend/src/components/CollectionTable.jsx index c67120d47..f85be89a5 100644 --- a/frontend/src/components/CollectionTable.jsx +++ b/frontend/src/components/CollectionTable.jsx @@ -302,16 +302,20 @@ export default function CollectionTable({ data, activeCollection, onDelete, onVi const showSlider = scrollState.scrollWidth > scrollState.clientWidth; return ( -
+
{/* Toolbar Area */}
- - {showColumnMenu && ( + {showColumnMenu && ( <>
setShowColumnMenu(false)} /> -
+
+ +
)} +
@@ -437,7 +440,8 @@ export default function CollectionTable({ data, activeCollection, onDelete, onVi position: (isStickyLeft || isStickyRight) ? "sticky" : "relative", left: isStickyLeft ? 0 : 'auto', right: isStickyRight ? 0 : 'auto', - zIndex: (isStickyLeft || isStickyRight) ? 20 : 10, + zIndex: (isStickyLeft || isStickyRight) ? 5 : 3, + background: 'rgba(10, 10, 10, 0.85)', backdropFilter: 'blur(8px)', boxShadow: isStickyRight ? '-5px 0 15px rgba(0,0,0,0.3)' : 'none' @@ -479,7 +483,8 @@ export default function CollectionTable({ data, activeCollection, onDelete, onVi position: (isStickyLeft || isStickyRight) ? "sticky" : "relative", left: isStickyLeft ? 0 : 'auto', right: isStickyRight ? 0 : 'auto', - zIndex: (isStickyLeft || isStickyRight) ? 5 : 1, + zIndex: (isStickyLeft || isStickyRight) ? 2 : 1, + boxShadow: isStickyRight ? '-5px 0 15px rgba(0,0,0,0.2)' : 'none' }; From c9d48f6fb3da5a09937fcd01f5cb31f098db5b8c Mon Sep 17 00:00:00 2001 From: Nitin Kumar Yadav Date: Sun, 15 Feb 2026 15:57:41 +0530 Subject: [PATCH 2/4] reduce dropdown z-index to 1000 --- frontend/src/components/CollectionTable.jsx | 22 ++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/frontend/src/components/CollectionTable.jsx b/frontend/src/components/CollectionTable.jsx index f85be89a5..4fe0dc709 100644 --- a/frontend/src/components/CollectionTable.jsx +++ b/frontend/src/components/CollectionTable.jsx @@ -341,17 +341,17 @@ export default function CollectionTable({ data, activeCollection, onDelete, onVi onClick={() => setShowColumnMenu(false)} />
+ className="column-menu glass-panel" + style={{ + position: 'absolute', + right: 0, + top: 'calc(100% + 6px)', + width: '220px', + maxHeight: '320px', + overflowY: 'auto', + zIndex: 1000, + }} + >
Date: Sun, 15 Feb 2026 20:48:17 +0530 Subject: [PATCH 3/4] fix: improve create collection dropdown visibility in dark mode --- frontend/src/index.css | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/frontend/src/index.css b/frontend/src/index.css index 009dfafa5..7b7c9dc2f 100644 --- a/frontend/src/index.css +++ b/frontend/src/index.css @@ -497,4 +497,21 @@ body { padding: 5px; width: 5rem; -} \ No newline at end of file +} + +/* Fix dark-mode select dropdown options */ +select { + background-color: var(--color-bg-input); + color: #ffffff; +} + +select option { + background-color: #0f0f0f; + color: #ffffff; +} + +/* Optional: hover state */ +select option:hover { + background-color: #1f2933; +} + From 61907b2f7e783ce0fb4d520b72baeddeae14188c Mon Sep 17 00:00:00 2001 From: Nitin Kumar Yadav Date: Sun, 15 Feb 2026 21:08:22 +0530 Subject: [PATCH 4/4] remove ineffective option:hover styles --- frontend/src/index.css | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/frontend/src/index.css b/frontend/src/index.css index 7b7c9dc2f..843ef7aa0 100644 --- a/frontend/src/index.css +++ b/frontend/src/index.css @@ -510,8 +510,5 @@ select option { color: #ffffff; } -/* Optional: hover state */ -select option:hover { - background-color: #1f2933; -} +