From 8d5109bbf4fec7e4486f5b09bb841f3f7b2700b9 Mon Sep 17 00:00:00 2001 From: imohkay Date: Mon, 25 Oct 2021 16:36:09 +0530 Subject: [PATCH] fix play icons being squares on iPhone for about page --- app/static/css/partials/_about.scss | 3 ++- app/static/js/about.js | 4 ++-- app/templates/about.html | 16 ++++++++-------- 3 files changed, 12 insertions(+), 11 deletions(-) mode change 100644 => 100755 app/static/js/about.js diff --git a/app/static/css/partials/_about.scss b/app/static/css/partials/_about.scss index 0f6292b..3bbb25b 100755 --- a/app/static/css/partials/_about.scss +++ b/app/static/css/partials/_about.scss @@ -88,7 +88,8 @@ } .accordion-caret { - font-size: 21px; + font-size: 34px; + font-family: "icomoon"; margin-left: auto; } diff --git a/app/static/js/about.js b/app/static/js/about.js old mode 100644 new mode 100755 index 6adc59d..7be21d2 --- a/app/static/js/about.js +++ b/app/static/js/about.js @@ -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 = '' } }) }) \ No newline at end of file diff --git a/app/templates/about.html b/app/templates/about.html index 6e7156c..f3d5aa2 100755 --- a/app/templates/about.html +++ b/app/templates/about.html @@ -47,7 +47,7 @@
  • @@ -58,7 +58,7 @@
  • @@ -72,7 +72,7 @@
  • @@ -83,7 +83,7 @@
  • @@ -100,7 +100,7 @@
  • @@ -111,7 +111,7 @@
  • @@ -128,7 +128,7 @@
  • @@ -139,7 +139,7 @@