mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-05 06:08:46 -05:00
Minor formatting
This commit is contained in:
@@ -34,7 +34,7 @@ def nav_color(request):
|
||||
def sticky_nav(request):
|
||||
if (not request.user.is_authenticated and STICKY_NAV_PREF_DEFAULT) or \
|
||||
(request.user.is_authenticated and request.user.userpreference.sticky_navbar):
|
||||
return 'position: sticky; top: 0; left: 0; z-index:1000'
|
||||
return 'position: sticky; top: 0; left: 0; z-index: 1000;'
|
||||
else:
|
||||
return ''
|
||||
|
||||
|
||||
Reference in New Issue
Block a user