feat: 自行开发设计 ui样式优化 超管端-控制台 相关的页面
This commit is contained in:
@@ -39,8 +39,8 @@ export const ReportHeader = ({ report, onExport, t }) => {
|
||||
m.rollup_ready && m.history_floor > 0 && m.prev_start < m.history_floor;
|
||||
|
||||
return (
|
||||
<>
|
||||
<Card className='shadow-sm mb-4' bodyStyle={{ padding: '16px 20px' }}>
|
||||
<div className='flex flex-col gap-4'>
|
||||
<Card className='shadow-sm' bodyStyle={{ padding: '16px 20px' }}>
|
||||
<div className='flex flex-col md:flex-row md:items-center md:justify-between gap-3'>
|
||||
<div className='min-w-0'>
|
||||
<div className='text-xs font-semibold tracking-wider text-brand mb-1'>
|
||||
@@ -68,7 +68,6 @@ export const ReportHeader = ({ report, onExport, t }) => {
|
||||
</Card>
|
||||
{!m.rollup_ready ? (
|
||||
<Banner
|
||||
className='mb-4'
|
||||
type='warning'
|
||||
fullMode={false}
|
||||
closeIcon={null}
|
||||
@@ -80,7 +79,6 @@ export const ReportHeader = ({ report, onExport, t }) => {
|
||||
) : null}
|
||||
{m.rollup_ready && !m.history_ready ? (
|
||||
<Banner
|
||||
className='mb-4'
|
||||
type='info'
|
||||
fullMode={false}
|
||||
closeIcon={null}
|
||||
@@ -92,7 +90,6 @@ export const ReportHeader = ({ report, onExport, t }) => {
|
||||
) : null}
|
||||
{beyondFloor ? (
|
||||
<Banner
|
||||
className='mb-4'
|
||||
type='info'
|
||||
fullMode={false}
|
||||
closeIcon={null}
|
||||
@@ -106,7 +103,6 @@ export const ReportHeader = ({ report, onExport, t }) => {
|
||||
) : null}
|
||||
{stale ? (
|
||||
<Banner
|
||||
className='mb-4'
|
||||
type='warning'
|
||||
fullMode={false}
|
||||
closeIcon={null}
|
||||
@@ -118,7 +114,7 @@ export const ReportHeader = ({ report, onExport, t }) => {
|
||||
)}
|
||||
/>
|
||||
) : null}
|
||||
</>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user