Css – Dynamic modification of grid-template-rows
I have a React component with this structure the tools and searchPanel blocks have fixed heights. the main block should occupy the remaining space: <div className={`reference-container`}> { isToolsVisible && <div className={`tools`}></div> } { isSeracpPanleVisible && <div className={`searchPanel`}></div> } <div className={`mainContent`}></div>…