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 { body::before {
content: ""; content: "";
background-image: url(/static/images/gradient-border.png); }
body:before {
background-size: cover; } background-size: cover; }
body:after, body:before { body:after, body:before {

@ -125,11 +125,8 @@ body::after {
} }
body::before { body::before {
// background-image set in base.html so it works with reverse proxies etc
content: ""; content: "";
background-image: url(/static/images/gradient-border.png);
}
body:before {
background-size: cover background-size: cover
} }

@ -12,7 +12,13 @@
<link rel="stylesheet" href="{{ m }}?ver=1000"> <link rel="stylesheet" href="{{ m }}?ver=1000">
{% endfor %} {% endfor %}
{% endif %} {% endif %}
<style>
body::before {
background-image: url({{url_for('static_content', group='images', filename='gradient-border.png')}});
}
</style>
</head> </head>
<body> <body>
<div class="header"> <div class="header">

Loading…
Cancel
Save