Fix Frontend Issues: CSP, Chart Height, and Logout

- Add CSP settings explicitly to local.py to ensure they are active
- Implement logout API endpoint (view and url) to fix 404
- Add min-height to chart container in PlatformDashboard to fix recharts error
This commit is contained in:
poduck
2025-11-27 12:33:12 -05:00
parent 249a9040d2
commit 06ed9e6f69
4 changed files with 52 additions and 2 deletions

View File

@@ -63,7 +63,7 @@ const PlatformDashboard: React.FC = () => {
{/* MRR Chart */}
<div className="bg-white dark:bg-gray-800 p-6 rounded-xl border border-gray-200 dark:border-gray-700 shadow-sm">
<h3 className="text-lg font-semibold text-gray-900 dark:text-white mb-6">{t('platform.mrrGrowth')}</h3>
<div className="h-80">
<div className="h-80 min-h-[320px]">
<ResponsiveContainer width="100%" height="100%">
<AreaChart data={data}>
<defs>