day view on mobile bug fix

This commit is contained in:
2026-03-25 08:49:14 -04:00
parent 163d71d505
commit 941d216f38
2 changed files with 519 additions and 8 deletions

View File

@@ -1223,7 +1223,7 @@ function DayView({ events: rawEvents, selectedDate, onSelect, onSwipe }) {
<div style={{textAlign:'center'}}><div>{DAYS[selectedDate.getDay()]}</div><div style={{fontSize:28,fontWeight:700}}>{selectedDate.getDate()}</div></div>
</div>
<div ref={scrollRef} style={{flex:1,overflowY:'auto',position:'relative',touchAction:'pan-y'}}>
<div style={{position:'relative'}}>
<div style={{position:'relative',paddingBottom:onSwipe?80:0}}>
{hours.map(h=>(
<div key={h} style={{display:'flex',borderBottom:'1px solid var(--border)',height:HOUR_H}}>
<div style={{width:60,flexShrink:0,fontSize:11,color:'var(--text-tertiary)',padding:'3px 10px 0',textAlign:'right'}}>{fmtHour(h)}</div>