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

SHS-5530: hb-stretch-vertical-linked-cards utility class should also work on private pages #1478

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

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.