🚑️ fix background aspect ratio
This commit is contained in:
parent
6d158832e9
commit
840287e317
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ def buildSite(content, title=None, disable_color=False):
|
||||||
c_style = f"background: {bg}; color: {fg};"
|
c_style = f"background: {bg}; color: {fg};"
|
||||||
|
|
||||||
if os.path.exists("/config/wall.png"):
|
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(
|
return Document(
|
||||||
head=Head(
|
head=Head(
|
||||||
|
|
Loading…
Add table
Reference in a new issue