fix(style): model status
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
overflow: hidden;
|
||||
|
||||
&.download {
|
||||
background-color: var(--ant-blue-2);
|
||||
border: 1px solid var(--ant-color-border) !important;
|
||||
}
|
||||
|
||||
.download {
|
||||
@@ -24,12 +24,12 @@
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
height: 100%;
|
||||
background-color: var(--ant-color-primary);
|
||||
background-color: rgba(0, 0, 0, 15%);
|
||||
}
|
||||
|
||||
.progress {
|
||||
position: relative;
|
||||
z-index: 10;
|
||||
color: var(--color-white-1);
|
||||
color: var(--ant-color-text);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -51,17 +51,10 @@ const StatusTag: React.FC<StatusTagProps> = ({ statusValue, download }) => {
|
||||
className={classNames('status-tag', {
|
||||
download: download?.percent
|
||||
})}
|
||||
style={
|
||||
download
|
||||
? {
|
||||
color: StatusColorMap['success']['text'],
|
||||
border: `1px solid ${StatusColorMap['success']['text']}`
|
||||
}
|
||||
: {
|
||||
color: statusColor?.text,
|
||||
border: `1px solid ${statusColor?.text}`
|
||||
}
|
||||
}
|
||||
style={{
|
||||
color: statusColor?.text,
|
||||
border: `1px solid ${statusColor?.text}`
|
||||
}}
|
||||
>
|
||||
{renderContent()}
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user