day view on mobile bug fix
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user