Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue # 1498 #2969

Merged
merged 6 commits into from
Mar 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions _includes/about-page/about-card-news.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
<div class='card-primary page-card-lg page-card--about last-card'>
<div class="about-us-section-header" data-hash="news"><span class="sec-head-img"><img src="/assets/images/about/section-header-elements/news.svg"></span>HfLA in the News</div>
<div class="about-us-section-content">
<div class="flex-container">
<div class="flex-container news-container ">
{% for item in site.data.internal.press %}
<div class="news-cells">
<img src="{{item[1].image}}" alt="{{item[1].image_alt}}" />
<p class="more-padding"><a href="{{item[1].link_url}}" target="_blank" rel="noopener noreferrer">{{item[1].title}}</a></p>
<div class="image-news-container">
<img src="{{item[1].image}}" alt="{{item[1].image_alt}}" />
</div>
<p><a href="{{item[1].link_url}}" target="_blank" rel="noopener noreferrer">{{item[1].title}}</a></p>
</div>
{% endfor %}
</div>
Expand Down
36 changes: 25 additions & 11 deletions _sass/components/_about.scss
Original file line number Diff line number Diff line change
Expand Up @@ -563,19 +563,21 @@ a.anchor {
display: flex;
flex-flow: column nowrap;
justify-content: center;
padding: 25px 0 15px 0;
align-items: center;
width: 55.733vw;
padding-bottom: 45px;
}

.news-cells p {
padding-top: 40px;
margin: 0 20px 0 20px;
.image-news-container{
height: 100px;
display: flex;
align-content: center;
margin-bottom: 30px;
}

.more-padding {
padding-top: 10px;
.flex-container.news-container{
align-items: center;
}


/* Below are the breakpoints and adjustments for different size monitors */

// Below tablet - 768px
Expand Down Expand Up @@ -811,9 +813,21 @@ a.anchor {
padding-left: 25px;
}

.news-cells p {
padding-top: 48.33px;
margin: 0 20px 0 20px;
.flex-container.news-container{
flex-basis: auto;
column-gap: 2.863vw;
align-items: baseline;
margin-bottom: 67px;
}
.image-news-container{
margin-bottom: 48px;
height: 100px;
}

.news-cells {
justify-content: unset;
padding-bottom: unset;
width: 33.3%;
}

.news-cells--govtech {
Expand Down