fix play icons being squares on iPhone for about page

This commit is contained in:
imohkay 2021-10-25 16:36:09 +05:30
commit 8d5109bbf4
3 changed files with 12 additions and 11 deletions

View file

@ -88,7 +88,8 @@
}
.accordion-caret {
font-size: 21px;
font-size: 34px;
font-family: "icomoon";
margin-left: auto;
}

4
app/static/js/about.js Normal file → Executable file
View file

@ -3,9 +3,9 @@ document.querySelectorAll('.accordion-checkbox').forEach(cbox => {
const label = this.previousElementSibling
const caret = label.querySelector('.text')
if (cbox.checked) {
caret.innerHTML = '▼'
caret.innerHTML = ''
} else {
caret.innerHTML = '▶'
caret.innerHTML = ''
}
})
})