Skip to content

Commit

Permalink
feat(shs-5530): make hb-stretch-vertical-linked-cards utility class w…
Browse files Browse the repository at this point in the history
…ork on private pages (#1478)

Co-authored-by: Mari Núñez <mariannuar@admins-MacBook-Pro.local>
Co-authored-by: Andrés Díaz Soto <andres.diaz.soto@gmail.com>
  • Loading branch information
3 people authored Mar 15, 2024
1 parent 571db35 commit 951ba76
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docroot/themes/humsci/humsci_airy/css/humsci_airy.css

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import resetHeightGrid from './reset-height-grid';
const applyStretchClass = () => {
const hasStretchClass = document.querySelector('.hb-stretch-vertical-linked-cards');
const verticalLinkedCardTitles = [...document.querySelectorAll('.hb-vertical-linked-card__title')];
const cardCollections = document.querySelectorAll('.ptype-hs-collection');
const cardCollections = document.querySelectorAll('.ptype-hs-collection, .ptype-hs-priv-collection');

// Matches the $su-breakpoint-sm variable. Screen sizes smaller than this variable
// stack all grid columns making it unnecessary to set a height on cards.
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docroot/themes/humsci/humsci_colorful/js/index.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docroot/themes/humsci/humsci_traditional/js/index.js

Large diffs are not rendered by default.

0 comments on commit 951ba76

Please sign in to comment.