feat: enhance About page layout with Card component and improve Dashboard CSS styling

This commit is contained in:
JustSong 2025-02-02 18:49:42 +08:00
parent ca334a5502
commit 20c30a060b
2 changed files with 11 additions and 5 deletions

View File

@ -54,10 +54,16 @@ const About = () => {
style={{ width: '100%', height: '100vh', border: 'none' }} style={{ width: '100%', height: '100vh', border: 'none' }}
/> />
) : ( ) : (
<div <div className='dashboard-container'>
style={{ fontSize: 'larger' }} <Card fluid className='chart-card'>
dangerouslySetInnerHTML={{ __html: about }} <Card.Content>
></div> <div
style={{ fontSize: 'larger' }}
dangerouslySetInnerHTML={{ __html: about }}
></div>
</Card.Content>
</Card>
</div>
)} )}
</> </>
)} )}

View File

@ -36,7 +36,7 @@
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04) !important; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04) !important;
border: none !important; border: none !important;
border-radius: 16px !important; border-radius: 16px !important;
padding-top: 8px!important; padding: 8px!important;
} }
.chart-container { .chart-container {