Use width

main2
Bob Mottram 2019-10-23 14:00:05 +01:00
parent ae5c6d7641
commit 0d51425110
1 changed files with 2 additions and 2 deletions

View File

@ -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'