Skip to content

Commit

Permalink
Change Articles header on the News page from h1 to h2.
Browse files Browse the repository at this point in the history
  • Loading branch information
LukePBurnettGSA committed Dec 6, 2023
1 parent 1cc8120 commit 3918b7a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions _sass/_resources.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4489,11 +4489,11 @@ html *
width: 100%;
height: 216px;
background-color: white;
h1, p
h2, p
{
margin: 0;
}
h1
h2
{
font-weight: 700;
font-size: 22px;
Expand Down Expand Up @@ -4532,7 +4532,7 @@ html *
width: 83px;
height: 83px;
}
h1
h2
{
display: none;
}
Expand Down Expand Up @@ -4670,15 +4670,15 @@ html *
width: 52px;
height: 52px;
}
h1
h2
{
display: -webkit-box;
}
}
.article-card-upper-right
{
width: 100%;
h1
h2
{
display: none;
}
Expand Down
4 changes: 2 additions & 2 deletions assets/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,11 +176,11 @@ if(document.getElementById('news') != null)
<div class="article-card-upper">
<div class="article-card-upper-left">
<img class="article-card-publisher-logo" src="${baseUrl}/${publisher.logo}" alt="${publisher.name} logo">
<h1 class="two-line-max">${articles[i].title}</h1>
<h2 class="two-line-max">${articles[i].title}</h2>
</div>
<div class="article-card-upper-right">
<div>
<h1 class="one-line-max">${articles[i].title}</h1>
<h2 class="one-line-max">${articles[i].title}</h2>
<p class="four-line-max">${articles[i].description}</p>
</div>
<p class="article-card-date" >${articles[i].date}</p>
Expand Down

0 comments on commit 3918b7a

Please sign in to comment.