From 0d51425110ef4d117f43c4ef949035c999828372 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 23 Oct 2019 14:00:05 +0100 Subject: [PATCH] Use width --- webinterface.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webinterface.py b/webinterface.py index 5d1e6635..a1f6d3d9 100644 --- a/webinterface.py +++ b/webinterface.py @@ -68,9 +68,9 @@ def htmlFullScreenImage(imageFilename: str,description: str) -> str: htmlStr+=' background-image: url("'+imageFilename+'");\n' htmlStr+='\n' if description: - htmlStr+=' height: 90%;\n' + htmlStr+=' width: 90%;\n' else: - htmlStr+=' height: 100%;\n' + htmlStr+=' width: 100%;\n' htmlStr+='' htmlStr+=' background-position: center;\n' htmlStr+=' background-repeat: no-repeat;\n'