summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2022-02-20 20:47:19 +0000
committerPaul Buetow <paul@buetow.org>2022-02-20 20:47:19 +0000
commit295f895a257ee9a2d571a79af549ccbe5443f438 (patch)
tree1369ae426a52e82b9a2a0e5eaac133f85610028c
parent7d730980b1fa4fd015b1eee105bd49e1370a6230 (diff)
fix image view for narrow screens (e.g. smartphones)
-rw-r--r--share/templates/default/header.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/share/templates/default/header.tmpl b/share/templates/default/header.tmpl
index 3b88220..26ea163 100644
--- a/share/templates/default/header.tmpl
+++ b/share/templates/default/header.tmpl
@@ -47,6 +47,7 @@ cat <<END
img.view {
max-height: ${HEIGHT}px;
+ width: 95%;
height: 80%;
object-fit: contain;
}