The current flex subfigures have a constant align-items: flex-end; rule. That works relatively well when the captions are trailing underneath their subfigure panels.
However, when the captions are leading (on top of) the panels, the layout feels chaotic. For example Table 1 in arXiv:2510.22681v1:
https://arxiv.org/html/2510.22681v1#S3.T1
looks much better with align-items: flex-start;
In essence, the alignment should apply on the captioned side. I think we can achieve that with a CSS :has check.
The current flex subfigures have a constant
align-items: flex-end;rule. That works relatively well when the captions are trailing underneath their subfigure panels.However, when the captions are leading (on top of) the panels, the layout feels chaotic. For example Table 1 in
arXiv:2510.22681v1:https://arxiv.org/html/2510.22681v1#S3.T1
looks much better with
align-items: flex-start;In essence, the alignment should apply on the captioned side. I think we can achieve that with a CSS
:hascheck.