Implemented PR feedback

This commit is contained in:
CocoByte 2024-09-17 00:18:36 -06:00
parent be5dd260b2
commit 377f15f9c0
No known key found for this signature in database
GPG key ID: BBFAA2526384C97F
6 changed files with 14 additions and 5 deletions

View file

@ -1,6 +1,10 @@
@use "uswds-core" as *;
@use "cisa_colors" as *;
:root {
--widescreen-max-width: 1920px;
}
/* Styles for making visible to screen reader / AT users only. */
.sr-only {
@include sr-only;
@ -201,8 +205,9 @@ abbr[title] {
}
.usa-banner__inner--widescreen {
max-width: 1920px;
max-width: var(--widescreen-max-width);
}
.margin-right-neg-4px {
margin-right: -4px;
}

View file

@ -2,5 +2,5 @@
.grid-container--widescreen,
.usa-identifier__container--widescreen {
max-width: 1920px !important;
max-width: var(--widescreen-max-width) !important;
}

View file

@ -119,3 +119,8 @@
}
}
}
.usa-nav__inner--widescreen,
.usa-navbar--widescreen {
max-width: var(--widescreen-max-width) !important;
}

View file

@ -2,5 +2,5 @@
.usa-nav__inner--widescreen,
.usa-navbar--widescreen {
max-width: 1920px !important;
max-width: var(--widescreen-max-width) !important;
}

View file

@ -24,7 +24,6 @@
@forward "header";
@forward "register-form";
@forward "containers";
@forward "navigation";
/*--------------------------------------------------
--- Admin ---------------------------------*/

View file

@ -4,7 +4,7 @@
<div id="wrapper" class="{% block wrapper_class %}dashboard--portfolio{% endblock %}">
{% block content %}
<main id="main-content" class="grid-container {% if is_widescreen_mode %} grid-container--widescreen {% endif %}">
<main class="grid-container {% if is_widescreen_mode %} grid-container--widescreen {% endif %}">
{% if user.is_authenticated %}
{# the entire logged in page goes here #}