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

pull/447/head
dgtlmoon 3 years ago
parent f85ccffe0a
commit 69aec23d1d

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

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

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

Loading…
Cancel
Save