chiark
/
gitweb
/
~mdw
/
tgal
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mason/dhandler (.image), static/tgal.css: Adaptive view scaling.
[tgal]
/
static
/
tgal.css
diff --git
a/static/tgal.css
b/static/tgal.css
index aa648784adc822b950d3cc803581179d5ef130ad..73e393320c8156c16bcab340d93199701b08c651 100644
(file)
--- a/
static/tgal.css
+++ b/
static/tgal.css
@@
-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%;