groton-school / knowledgebase

Knowledgebase website
https://kb.groton.org
GNU General Public License v3.0
0 stars 0 forks source link

Prefix `.ui-include` consistently #56

Closed github-actions[bot] closed 2 weeks ago

github-actions[bot] commented 1 month ago

https://github.com/groton-school/knowledgebase/blob/b2e50a136065c2a9e80d342b93ab7f4d5e7b0c82/apps/ui/src/UI/HideHeaderAndFooter/index.ts#L8


  Helper.onGoogleDocEmbed<HTMLDivElement>('div', (divs) => {
    divs.forEach((div) => {
      if (div.querySelector('a[id^="ftnt"]')) {
        div.classList.add('ui-include'); // TODO Prefix `.ui-include` consistently
      }
    });
    Helper.log('hide header/footer');