Skip to content

Commit

Permalink
Sync main branch from pricefx-eds-qa, excluding fstab.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Jul 18, 2024
2 parents 5406d96 + 8a78850 commit 3ddad8d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
6 changes: 6 additions & 0 deletions blocks/hero/hero.css
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,12 @@
word-break: break-word;
}

@media (width <= 430px) {
.hero .hero-left-container h1 {
font-size: calc((32 / 16) * 1rem);
}
}

@media (width <= 985px) {
.hero .hero-right-container .hero-image-container {
background-image: unset !important;
Expand Down
7 changes: 6 additions & 1 deletion blocks/related-articles/related-articles.js
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,12 @@ export default async function decorate(block) {
const filterByAuthors = filterBasedOnProp(filteryByTopics, ['authors'], { authors: authorTags });

// Filter Current Article
let filteredData = filterByAuthors.filter((article) => !article.path.includes(window.location.pathname));
let filteredData;
if (window.location.pathname !== '/learning-center/casestudies') {
filteredData = filterByAuthors.filter((article) => !article.path.includes(window.location.pathname));
} else {
filteredData = [...filterByAuthors];
}

// Sorting Article by Date published
filteredData = sortByDate(filteredData, 'articlePublishDate');
Expand Down

0 comments on commit 3ddad8d

Please sign in to comment.