1
0
Fork 0
mirror of https://github.com/codex-team/codex.docs.git synced 2025-07-24 07:39:42 +02:00

update tags var

This commit is contained in:
Taly 2022-06-10 14:29:35 +03:00
parent a10604624c
commit f055395e9c
2 changed files with 2 additions and 3 deletions

View file

@ -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));
}
/**

View file

@ -44,8 +44,7 @@
}
&__aside,
&__content,
&__aside-right {
&__content {
padding: var(--layout-padding-vertical) 0;
@media (--mobile) {