Skip to content
This repository has been archived by the owner on Feb 1, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixing background too big.
  • Loading branch information
Depado committed Aug 30, 2015
1 parent 509a0c9 commit 935b8e5
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/modules/blog/utils.py
Expand Up @@ -23,7 +23,7 @@ def generate_background_css(blog_user=None):
repeat_mode = "no-repeat"
background_cover = True
backgroud_css_template = "background: url('{background_url}') {repeat_mode} center center fixed;"
background_url = url_for('static', filename='img/2.png')
background_url = url_for('static', filename='img/bg.jpg')

if blog_user:
if blog_user.blog_bg and blog_user.blog_bg_public:
Expand Down
Binary file removed app/static/img/2.png
Binary file not shown.
Binary file added app/static/img/bg.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion app/views/context.py
Expand Up @@ -9,7 +9,7 @@ def generate_bg_css():
repeat_mode = "no-repeat"
background_cover = True
backgroud_css_template = "background: url('{background_url}') {repeat_mode} center center fixed;"
background_url = url_for('static', filename='img/2.png')
background_url = url_for('static', filename='img/bg.jpg')
if current_user.is_authenticated():
if current_user.blog_bg and current_user.blog_bg_everywhere:
background_url = current_user.blog_bg
Expand Down

0 comments on commit 935b8e5

Please sign in to comment.