forked from indymedia/epicyon
Use width
parent
ae5c6d7641
commit
0d51425110
|
@ -68,9 +68,9 @@ def htmlFullScreenImage(imageFilename: str,description: str) -> str:
|
||||||
htmlStr+=' background-image: url("'+imageFilename+'");\n'
|
htmlStr+=' background-image: url("'+imageFilename+'");\n'
|
||||||
htmlStr+='\n'
|
htmlStr+='\n'
|
||||||
if description:
|
if description:
|
||||||
htmlStr+=' height: 90%;\n'
|
htmlStr+=' width: 90%;\n'
|
||||||
else:
|
else:
|
||||||
htmlStr+=' height: 100%;\n'
|
htmlStr+=' width: 100%;\n'
|
||||||
htmlStr+=''
|
htmlStr+=''
|
||||||
htmlStr+=' background-position: center;\n'
|
htmlStr+=' background-position: center;\n'
|
||||||
htmlStr+=' background-repeat: no-repeat;\n'
|
htmlStr+=' background-repeat: no-repeat;\n'
|
||||||
|
|
Loading…
Reference in New Issue