I am displaying 3 shiny boxes as follows:

I have two filters countries. The headers of the boxes change based on both of the filters. Now the issue is when the header is split in two lines in the first box the height increases but the two other boxes height remain the same thus the heights are not aligned. How can I achieve the adjustment of the height automatically? An example would be great on which I can work on.
It is hard to test this without the example of the data but you could try to wrap the boxes in a container and apply
display: flexto that container.So the code would be something like this
And the output