diff --git a/src/frontend/js/modules/table-of-content.js b/src/frontend/js/modules/table-of-content.js index 9cfc3e4..9e07787 100644 --- a/src/frontend/js/modules/table-of-content.js +++ b/src/frontend/js/modules/table-of-content.js @@ -35,7 +35,7 @@ export default class TableOfContent { * Find all tags on the page */ findTagsOnThePage() { - this.tags = document.querySelectorAll(this.tagSelector); + this.tags = Array.from(document.querySelectorAll(this.tagSelector)); } /** diff --git a/src/frontend/styles/layout.pcss b/src/frontend/styles/layout.pcss index 8b15fdd..be5fd76 100644 --- a/src/frontend/styles/layout.pcss +++ b/src/frontend/styles/layout.pcss @@ -44,8 +44,7 @@ } &__aside, - &__content, - &__aside-right { + &__content { padding: var(--layout-padding-vertical) 0; @media (--mobile) {