From f055395e9c6b35fa9c45ff96628e499c03174715 Mon Sep 17 00:00:00 2001 From: Taly Date: Fri, 10 Jun 2022 14:29:35 +0300 Subject: [PATCH] update tags var --- src/frontend/js/modules/table-of-content.js | 2 +- src/frontend/styles/layout.pcss | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) 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) {