keep Events favorite button to right side

This commit is contained in:
spacebares 2022-12-20 13:53:55 -08:00
parent 8422c6070f
commit b62adfb601

View File

@ -337,12 +337,12 @@ export default function Events({ path, ...props }) {
)} )}
<StarRecording <StarRecording
className="h-10 w-10 text-yellow-300 cursor-pointer" className="h-10 w-10 text-yellow-300 cursor-pointer ml-auto"
onClick={() => onFilter("favorites", searchParams.favorites ? 0 : 1)} onClick={() => onFilter("favorites", searchParams.favorites ? 0 : 1)}
fill={searchParams.favorites == 1 ? 'currentColor' : 'none'} fill={searchParams.favorites == 1 ? 'currentColor' : 'none'}
/> />
<div ref={datePicker} className="ml-auto"> <div ref={datePicker} className="ml-right">
<CalendarIcon <CalendarIcon
className="h-8 w-8 cursor-pointer" className="h-8 w-8 cursor-pointer"
onClick={() => setState({ ...state, showDatePicker: true })} onClick={() => setState({ ...state, showDatePicker: true })}