diff --git a/macao/assets/custom.js b/macao/assets/custom.js index b9b295df575a086b64b2ab9613a157396785e0af..6cb8058335a15cdcb2175a81adbb6b35ff196363 100644 --- a/macao/assets/custom.js +++ b/macao/assets/custom.js @@ -24,4 +24,12 @@ $(document).ready(function() { // Replace <th> with a <td> containing the same content $(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(); + } });