Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 27 additions & 22 deletions frontend/src/components/CollectionTable.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -302,16 +302,20 @@ export default function CollectionTable({ data, activeCollection, onDelete, onVi
const showSlider = scrollState.scrollWidth > scrollState.clientWidth;

return (
<div className="table-wrapper" style={{ display: 'flex', flexDirection: 'column', height: '100%' }}>
<div className="table-wrapper" style={{ display: 'flex', flexDirection: 'column', height: '100%', overflow: 'visible' }}>
{/* Toolbar Area */}
<div className="table-toolbar glass-panel" style={{
overflow: 'visible',
position: 'relative',
zIndex: 50,
padding: '0.75rem 1.5rem',
borderBottom: '1px solid var(--color-border)',
display: 'flex',
justifyContent: 'flex-end',
background: 'rgba(10, 10, 10, 0.4)',
backdropFilter: 'blur(10px)',
marginBottom: '1px'
marginBottom: '1px',

}}>
<div style={{ position: 'relative' }}>
<button
Expand All @@ -329,29 +333,27 @@ export default function CollectionTable({ data, activeCollection, onDelete, onVi
<Settings2 size={14} />
COLUMNS
</button>

{showColumnMenu && (
{showColumnMenu && (
<>
<div
className="fixed-backdrop"
style={{ position: 'fixed', inset: 0, zIndex: 40 }}
style={{ position: 'fixed', inset: 0, zIndex: 10 }}
onClick={() => setShowColumnMenu(false)}
/>
<div className="column-menu glass-panel" style={{
position: 'absolute',
right: 0,
top: '100%',
marginTop: '8px',
width: '240px',
maxHeight: '400px',
overflowY: 'auto',
zIndex: 50,
padding: '8px',
border: '1px solid var(--color-border)',
boxShadow: '0 10px 40px rgba(0,0,0,0.5)',
borderRadius: '8px',
background: '#0A0A0A'
}}>
<div
className="column-menu glass-panel"
style={{
position: 'absolute',
right: 0,
top: 'calc(100% + 6px)',
width: '220px',
maxHeight: '320px',
overflowY: 'auto',
zIndex: 1000,
}}
>


<div style={{
fontSize: '0.7rem',
fontWeight: 700,
Expand Down Expand Up @@ -405,6 +407,7 @@ export default function CollectionTable({ data, activeCollection, onDelete, onVi
</div>
</>
)}

</div>
</div>

Expand Down Expand Up @@ -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'
Expand Down Expand Up @@ -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'
};

Expand Down
16 changes: 15 additions & 1 deletion frontend/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -497,4 +497,18 @@ body {
padding: 5px;
width: 5rem;

}
}

/* Fix dark-mode select dropdown options */
select {
background-color: var(--color-bg-input);
color: #ffffff;
}

select option {
background-color: #0f0f0f;
color: #ffffff;
}



Loading