mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-19 19:09:22 +02:00
Added widescreen detection and scss adjustments for Domains and Domain Request page
This commit is contained in:
parent
cc7f588dad
commit
ecc1038c34
10 changed files with 31 additions and 8 deletions
|
@ -95,3 +95,7 @@ def portfolio_permissions(request):
|
|||
"portfolio": None,
|
||||
"has_organization_feature_flag": False,
|
||||
}
|
||||
|
||||
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)
|
Loading…
Add table
Add a link
Reference in a new issue