Skip to content

Commit

Permalink
fixed the table ANDI alerts
Browse files Browse the repository at this point in the history
  • Loading branch information
HarikaMunipalle committed Nov 7, 2023
1 parent 554c618 commit 52eb9e0
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
2 changes: 1 addition & 1 deletion _includes/navitem.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{% assign id = include.nav_item.name | replace: " ", "-" | downcase %}
{% assign active_children = include.nav_item.children | where: 'url', page.url | size %}
<li class="usa-nav__sidenav-item{% if collapsible %} usa-menu-collapsible{% endif %}" role="none">
<a role="menuitem" class="usa-nav__link{% if ((include.nav_item.url == page.url) or include.nav_item.int_url == page.url or active_children > 0) %} usa-current{% endif %}{% if collapsible %} usa-menu-collapsible__button{% endif %}"
<a role="link" class="usa-nav__link{% if ((include.nav_item.url == page.url) or include.nav_item.int_url == page.url or active_children > 0) %} usa-current{% endif %}{% if collapsible %} usa-menu-collapsible__button{% endif %}"
{% if include.nav_item.url %}href="{{ include.nav_item.url | prepend: site.baseurl}}"{% else %} href="javascript:void(0);" {% endif %}
{% if collapsible %}aria-controls="{{ id }}" aria-haspopup="true" aria-expanded="{% if active_children > 0 or include.nav_item.url == page.url or include.nav_item.int_url == page.url %}true{% else %}false{% endif %}" {% endif %}>{{ include.nav_item.name | escape }}</a>
{% if include.nav_item.children.size > 0 %}
Expand Down
4 changes: 2 additions & 2 deletions _pages/charter.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ sidenav: about_navigation
<h2 id="signatures"><b>VII. Signatures of ICSP Members</b></h2>
<table aria-label="signatures">
<tr>
<th role="columnheader" scope="col" width="50%">ICSP Agency Name</th>
<th role="columnheader" scope="col">ICSP Agency Head Name</th>
<th role="columnheader" scope="col" width="50%"><b>ICSP Agency Name</b></th>
<th role="columnheader" scope="col"><b>ICSP Agency Head Name</b></th>
</tr>
<tr>
<td>Office of Management and Budget</td>
Expand Down
6 changes: 3 additions & 3 deletions _pages/events/cdac-meetings.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ sidenav: events_navigation

<p>Contact: Michael Hawes, Census, <a href="mailto:michael.b.hawes@census.gov">michael.b.hawes@census.gov</a> </p>

<p><strong>Recording of CDAC Meetings and Workshops:</strong></p><table border="0" cellpadding="0" cellspacing="0">
<p><strong>Recording of CDAC Meetings and Workshops:</strong></p><table border="0" cellpadding="0" cellspacing="0" aria-label="CDAC Meetings and Workshops">
<thead>
<tr>
<th>Date</th>
<th>Record</th>
<th scope="col">Date</th>
<th scope="col">Record</th>
</tr>
</thead>
<tbody>
Expand Down
7 changes: 7 additions & 0 deletions assets/css/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -274,4 +274,11 @@ small {

.usa-link--external::after {
background-color: transparent;
}

@media screen and (max-width: 768px){
.usa-banner__header-flag {
max-width: fit-content;
float: initial;
}
}

0 comments on commit 52eb9e0

Please sign in to comment.