Style fix for background image relative to X-Forwarded-Prefix when running via reverse proxy subdirectory

This commit is contained in:
dgtlmoon
2022-03-05 13:08:57 +01:00
parent f85ccffe0a
commit 69aec23d1d
3 changed files with 7 additions and 7 deletions
@@ -96,9 +96,6 @@ body::after {
body::before {
content: "";
background-image: url(/static/images/gradient-border.png); }
body:before {
background-size: cover; }
body:after, body:before {
+1 -4
View File
@@ -125,11 +125,8 @@ body::after {
}
body::before {
// background-image set in base.html so it works with reverse proxies etc
content: "";
background-image: url(/static/images/gradient-border.png);
}
body:before {
background-size: cover
}
+6
View File
@@ -12,7 +12,13 @@
<link rel="stylesheet" href="{{ m }}?ver=1000">
{% endfor %}
{% endif %}
<style>
body::before {
background-image: url({{url_for('static_content', group='images', filename='gradient-border.png')}});
}
</style>
</head>
<body>
<div class="header">