One challenge I'm facing involves a 3rd party library (fullcalendar) that automatically sets the height of elements based on internal calculations to ensure they look good in any viewport:
<div style="height: 72px;">
Unfortunately, not all elements have their heights dynamically adjusted. I prefer not to modify the code of the 3rd party library and was considering if there is a way to transfer one element's style to another using CSS. For example:
.myDiv {
height: anotherDiv.height
}
I'm open to alternative solutions that achieve the same result, but nothing else comes to mind.