Added widescreen detection and scss adjustments for Domains and Domain Request page

This commit is contained in:
CocoByte 2024-09-05 21:27:41 -06:00
parent cc7f588dad
commit ecc1038c34
No known key found for this signature in database
GPG key ID: BBFAA2526384C97F
10 changed files with 31 additions and 8 deletions

View file

@ -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)