Added widescreen mode to error pages (the misalignment was annoying me), Also updated widescreen variable, added home page to widescreen whitelist, combined _navigation.scss into _header.scss

This commit is contained in:
CocoByte 2024-09-18 19:23:01 -06:00
parent 04f0b6f8f4
commit 228b56002f
No known key found for this signature in database
GPG key ID: BBFAA2526384C97F
15 changed files with 44 additions and 27 deletions

View file

@ -104,5 +104,5 @@ def portfolio_permissions(request):
def is_widescreen_mode(request):
widescreen_paths = ["/domains/", "/requests/"]
return {
"is_widescreen_mode": any(path in request.path for path in widescreen_paths)
} # any(path in request.path for path in widescreen_paths)
"is_widescreen_mode": any(path in request.path for path in widescreen_paths) or request.path == "/"
}