Skip to content

Commit

Permalink
feat(shs-5693): attached files for equal height in vertical linked cards
Browse files Browse the repository at this point in the history
  • Loading branch information
Mari Nez committed Nov 30, 2024
1 parent 4b0b16b commit 1ec4c66
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docroot/themes/humsci/humsci_basic/humsci_basic.libraries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ carouselslidesheight:
js:
dist/js/carouselslidesheight.js: {}

equalheightgrid:
js:
dist/js/equalheightgrid.js: {}

mainmenu:
js:
dist/js/mainmenutoggle.js: {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
* @ingroup themeable
*/
#}
{{ attach_library('humsci_basic/equalheightgrid') }}

{% set raised_cards = false %}
{% if paragraph.field_raised_cards.value == true %}
{% set raised_cards = true %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
* @ingroup themeable
*/
#}
{{ attach_library('humsci_basic/equalheightgrid') }}

{%
set classes = [
'paragraph',
Expand Down

0 comments on commit 1ec4c66

Please sign in to comment.