fix: hide initial modal and set rtl x-axis on charts

This commit is contained in:
elahe 2026-11-21 08:55:54 +00:00
parent 8585bc25fd
commit 167774d416
2 changed files with 6 additions and 2 deletions

View file

@ -486,7 +486,7 @@
</main>
<!-- Modal for Info Help -->
<div id="infoModal" class="modal flex items-center justify-center p-4">
<div id="infoModal" class="modal items-center justify-center p-4">
<div class="bg-slate-900 border border-purple-800/80 rounded-2xl max-w-md w-full p-6 shadow-2xl relative">
<h3 id="modalTitle" class="text-lg font-bold text-purple-300 mb-2"></h3>
<p id="modalBody" class="text-slate-300 text-sm leading-relaxed mb-6"></p>
@ -551,6 +551,7 @@
},
scales: {
x: {
reverse: true,
ticks: { color: '#94a3b8', font: { family: 'Vazirmatn', size: 10 } },
grid: { display: false }
},
@ -593,6 +594,7 @@
},
scales: {
x: {
reverse: true,
ticks: { color: '#94a3b8', font: { family: 'Vazirmatn', size: 10 } },
grid: { display: false }
},

View file

@ -486,7 +486,7 @@
</main>
<!-- Modal for Info Help -->
<div id="infoModal" class="modal flex items-center justify-center p-4">
<div id="infoModal" class="modal items-center justify-center p-4">
<div class="bg-slate-900 border border-purple-800/80 rounded-2xl max-w-md w-full p-6 shadow-2xl relative">
<h3 id="modalTitle" class="text-lg font-bold text-purple-300 mb-2"></h3>
<p id="modalBody" class="text-slate-300 text-sm leading-relaxed mb-6"></p>
@ -551,6 +551,7 @@
},
scales: {
x: {
reverse: true,
ticks: { color: '#94a3b8', font: { family: 'Vazirmatn', size: 10 } },
grid: { display: false }
},
@ -593,6 +594,7 @@
},
scales: {
x: {
reverse: true,
ticks: { color: '#94a3b8', font: { family: 'Vazirmatn', size: 10 } },
grid: { display: false }
},