mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-09-17 09:16:36 +08:00
feat: enhance About page layout with Card component and improve Dashboard CSS styling
This commit is contained in:
parent
ca334a5502
commit
20c30a060b
@ -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>
|
||||||
)}
|
)}
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user