style: dashboard style

This commit is contained in:
jialin
2024-06-19 18:58:49 +08:00
parent 9f34452c68
commit 8c402e88fb
24 changed files with 266 additions and 189 deletions
+4
View File
@@ -11,6 +11,10 @@
font-size: var(--font-size-base);
overflow: hidden;
&.download {
background-color: rgb(47 191 133 / 30%);
}
.download {
display: flex;
justify-content: center;
+3 -1
View File
@@ -48,7 +48,9 @@ const StatusTag: React.FC<StatusTagProps> = ({ statusValue, download }) => {
};
return (
<span
className={classNames('status-tag')}
className={classNames('status-tag', {
download: download?.percent
})}
style={
download
? {