skip to Main Content

Reactjs – Make empty cell in css grid clickable

I have a grid structure like this (for a weekly calendar): <div className="grid flex-auto grid-cols-1 grid-rows-1"> {/* Horizontal lines */} <div className="col-start-1 col-end-2 row-start-1 grid divide-y divide-gray-100" style={{ gridTemplateRows: 'repeat(48, minmax(3.5rem, 1fr))' }} > <div className="sticky left-0 z-20 -ml-14 -mt-2.5…

VIEW QUESTION
Back To Top
Search