Skip to content
Snippets Groups Projects
Commit 52fd2b7e authored by Anthony's avatar Anthony
Browse files

Add gap between play buttoon when needed

parent b4bb24af
No related branches found
No related tags found
No related merge requests found
...@@ -24,4 +24,12 @@ $(document).ready(function() { ...@@ -24,4 +24,12 @@ $(document).ready(function() {
// Replace <th> with a <td> containing the same content // Replace <th> with a <td> containing the same content
$(this).replaceWith(`<td>${content}</td>`); $(this).replaceWith(`<td>${content}</td>`);
}); });
// Tricky way to add gap between play button and the next element
// like http://localhost:1313/macao-hugo/activities/mosorgmacao_fusion_ss_barre/mosmod10/mosmod11/mosetp129/pg334/
$(".btn-play").parent().siblings().css("margin-top", "10px")
if ($(window).width() > 900) {
$('.book-icon').hide();
}
}); });
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment