Enhance sticky header with proper glassmorphism blur
This commit is contained in:
@@ -57,7 +57,18 @@ export default function EventTimeline() {
|
|||||||
|
|
||||||
const renderTimeline = (zone, zoneEvents) => (
|
const renderTimeline = (zone, zoneEvents) => (
|
||||||
<div className="glass-panel" style={{ flex: 1, overflowY: 'auto', maxHeight: '70vh' }}>
|
<div className="glass-panel" style={{ flex: 1, overflowY: 'auto', maxHeight: '70vh' }}>
|
||||||
<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 }}>
|
<h2 style={{
|
||||||
|
position: 'sticky',
|
||||||
|
top: 0,
|
||||||
|
background: 'var(--panel-bg)',
|
||||||
|
backdropFilter: 'blur(16px)',
|
||||||
|
WebkitBackdropFilter: 'blur(16px)',
|
||||||
|
paddingBottom: '1rem',
|
||||||
|
paddingTop: '1rem',
|
||||||
|
marginTop: '-1rem',
|
||||||
|
borderBottom: '1px solid var(--panel-border)',
|
||||||
|
zIndex: 10
|
||||||
|
}}>
|
||||||
{zone} Timeline
|
{zone} Timeline
|
||||||
</h2>
|
</h2>
|
||||||
<div style={{ marginTop: '1rem' }}>
|
<div style={{ marginTop: '1rem' }}>
|
||||||
|
|||||||
Reference in New Issue
Block a user