Restore working state from f17e19f (before mobile overhaul)

Reverting all my changes that broke the desktop layout.
Starting fresh for mobile improvements.
This commit is contained in:
fahed
2026-02-03 15:29:03 +03:00
parent 222d583847
commit b2fcb16d12
9 changed files with 323 additions and 739 deletions

View File

@@ -41,7 +41,7 @@ export const chartColors = {
export const createDataLabelConfig = (showDataLabels) => ({
display: showDataLabels,
color: '#1e293b',
font: { size: 11, weight: 600 },
font: { size: 10, weight: 600 },
anchor: 'end',
align: 'end',
offset: 4,
@@ -74,19 +74,19 @@ export const createBaseOptions = (showDataLabels) => ({
backgroundColor: '#1e293b',
padding: 12,
cornerRadius: 8,
titleFont: { size: 14 },
bodyFont: { size: 13 }
titleFont: { size: 12 },
bodyFont: { size: 11 }
},
datalabels: createDataLabelConfig(showDataLabels)
},
scales: {
x: {
grid: { display: false },
ticks: { font: { size: 12 }, color: '#94a3b8' }
ticks: { font: { size: 10 }, color: '#94a3b8' }
},
y: {
grid: { color: chartColors.grid },
ticks: { font: { size: 12 }, color: '#94a3b8' },
ticks: { font: { size: 10 }, color: '#94a3b8' },
border: { display: false }
}
}