🚑️ fix background aspect ratio

This commit is contained in:
JMARyA 2022-09-13 07:44:53 +02:00
parent 6d158832e9
commit 840287e317
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263

View file

@ -22,7 +22,7 @@ def buildSite(content, title=None, disable_color=False):
c_style = f"background: {bg}; color: {fg};"
if os.path.exists("/config/wall.png"):
c_style += "background-image: url('assets/wall');"
c_style += "background-image: url('assets/wall');background-size:cover"
return Document(
head=Head(