mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-28 13:36:30 +02:00
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:
parent
04f0b6f8f4
commit
228b56002f
15 changed files with 44 additions and 27 deletions
|
@ -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 == "/"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue