mirror of
https://github.com/christianvidalwolf-prog/CrazeAnalytix.git
synced 2026-08-03 13:05:24 +02:00
Fix UI overlap for Stock filter dropdown by adjusting z-indices
This commit is contained in:
@@ -404,7 +404,7 @@ const WeeklyGrid: React.FC<WeeklyGridProps> = ({ data, top50Ranking, onDrillDown
|
||||
<div className="overflow-x-auto overflow-y-auto h-full max-h-[calc(100vh-220px)] custom-scrollbar">
|
||||
<table className="w-full text-left border-collapse min-w-[max-content]">
|
||||
<thead className="sticky top-0 z-20 bg-slate-900">
|
||||
<tr className="bg-slate-900 border-b border-white/10">
|
||||
<tr className="bg-slate-900 border-b border-white/10 relative z-30">
|
||||
<th
|
||||
onClick={() => handleSort('rank', 'rank')}
|
||||
className="p-3 text-[11px] font-black text-slate-400 uppercase tracking-widest sticky left-0 z-40 bg-slate-900 border-r border-white/10 min-w-[240px] cursor-pointer hover:bg-white/5 transition-colors group"
|
||||
@@ -469,7 +469,7 @@ const WeeklyGrid: React.FC<WeeklyGridProps> = ({ data, top50Ranking, onDrillDown
|
||||
</th>
|
||||
))}
|
||||
</tr>
|
||||
<tr className="bg-indigo-950 border-b border-white/10">
|
||||
<tr className="bg-indigo-950 border-b border-white/10 relative z-20">
|
||||
<th className="p-3 text-sm font-black text-white sticky left-0 z-40 bg-indigo-950 border-r border-white/10">TOTALS</th>
|
||||
{weeks.map((week, idx) => (
|
||||
<th key={week} className="p-3 text-sm font-black text-white text-center border-r border-white/10">
|
||||
|
||||
Reference in New Issue
Block a user