Fix sticky header overlap by using correct bg variable
This commit is contained in:
@@ -57,7 +57,7 @@ export default function EventTimeline() {
|
||||
|
||||
const renderTimeline = (zone, zoneEvents) => (
|
||||
<div className="glass-panel" style={{ flex: 1, overflowY: 'auto', maxHeight: '70vh' }}>
|
||||
<h2 style={{ position: 'sticky', top: 0, background: 'var(--bg)', paddingBottom: '1rem', borderBottom: '1px solid rgba(255,255,255,0.1)', zIndex: 10 }}>
|
||||
<h2 style={{ position: 'sticky', top: 0, background: 'var(--bg-color)', paddingBottom: '1rem', paddingTop: '1rem', marginTop: '-1rem', borderBottom: '1px solid rgba(255,255,255,0.1)', zIndex: 10 }}>
|
||||
{zone} Timeline
|
||||
</h2>
|
||||
<div style={{ marginTop: '1rem' }}>
|
||||
|
||||
Reference in New Issue
Block a user