Skip to content

Commit

Permalink
Fix indentation error and missing height on 404 container
Browse files Browse the repository at this point in the history
  • Loading branch information
Edb83 committed Jun 3, 2021
1 parent 3d486e3 commit c6c4e5b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions cart/contexts.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@


def cart_contents(request):
"""
View to return all information needed to display the cart, by
converting what has been saved to the session into key variables.
Protection in place in case a product, size or nic has been
deleted while still in the cart, removing from the list before
saving back to the cart session variable.
"""
"""
View to return all information needed to display the cart, by
converting what has been saved to the session into key variables.
Protection in place in case a product, size or nic has been
deleted while still in the cart, removing from the list before
saving back to the cart session variable.
"""
cart_items = []
total = 0
savings = 0
Expand Down
2 changes: 1 addition & 1 deletion static/css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ input[type=number] {
/* 404 page */

.background-404 {
height: ;
height: 100%;
background-image: url('/media/404.svg');
background-size: 25vh;
background-repeat: no-repeat;
Expand Down

0 comments on commit c6c4e5b

Please sign in to comment.