chiark / gitweb /
mason/dhandler (.image), static/tgal.css: Adaptive view scaling.
[tgal] / static / tgal.css
index aa648784adc822b950d3cc803581179d5ef130ad..73e393320c8156c16bcab340d93199701b08c651 100644 (file)
@@ -150,6 +150,11 @@ a.view {
 }
 a:link:hover.view { background: inherit; }
 
+a.view picture {
+       display: flex; flex-direction: column;
+       flex-grow: 1; flex-basis: 0;
+}
+
 a.view img {
        min-width: 0; min-height: 0;
        max-width: 100%; max-height: 100%;