fix(style): model status

This commit is contained in:
jialin
2024-07-08 19:47:47 +08:00
parent 9ad9539b51
commit 734368dd49
25 changed files with 109 additions and 83 deletions
+3 -3
View File
@@ -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);
}
}
+4 -11
View File
@@ -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>