I created a workaround for media where the aspect ratio is known. The width can be set to 100%, and for 16:9, the height can be calculated using this CSS: height: calc( ( 100vw - <static_elements_width>px ) / 16 * 9);, where <static_elements_width> is the total width of elements that do not flex. @media would also need to be used as well for the sidebar breakpoint.
Not sure how elegant this is, but wouldn't be difficult to incorporate into a macro where the CSS is inline and the aspect ratio is a parameter. Kalcifer -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/CAF_%3DHkNCwHgf0FrcG_zCv9xBzLT3i62FRoT30rKQi2cFYpWVYQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

