Skip to content

Commit

Permalink
Merge pull request varkaria#31 from cdwcgt/fix-custom
Browse files Browse the repository at this point in the history
Fix Profile Background Error in custom.html
  • Loading branch information
varkaria authored Apr 17, 2022
2 parents 9908ae1 + 4e61511 commit b38038d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/settings/custom.html
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ <h4 class="mb-4">Preview</h4>
<style>
{% if customizations['background'] == True %}
body {
background: linear-gradient(hsl(var(--main), 25%, 25%, 20%), hsl(var(--main), 10%, 10%)), url("/profbackground/{{ session['user_data']['id'] }}");
background: linear-gradient(hsl(var(--main), 25%, 25%, 20%), hsl(var(--main), 10%, 10%)), url("/backgrounds/{{ session['user_data']['id'] }}");
background-size: cover !important;
}
{% endif %}
Expand Down

0 comments on commit b38038d

Please sign in to comment.