From dd0352a50534939e970c87c337af97c0d8a159d0 Mon Sep 17 00:00:00 2001 From: Yi-Ya Chen Date: Wed, 27 Nov 2024 14:19:09 +0800 Subject: [PATCH] refactor: update tag color Signed-off-by: Yi-Ya Chen --- src/assets/styles/antd-customize/generic.less | 4 ++++ src/routes/backup/BackupList.js | 2 +- src/routes/backup/backupList.less | 1 - 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/assets/styles/antd-customize/generic.less b/src/assets/styles/antd-customize/generic.less index ab54dc84..8e3347c1 100644 --- a/src/assets/styles/antd-customize/generic.less +++ b/src/assets/styles/antd-customize/generic.less @@ -42,6 +42,10 @@ .ant-table > .ant-table-content > .ant-table-scroll > .ant-table-body { height: auto; } + + .ant-tag { + font-size: 15px; + } } .ant-table-tbody > tr:hover:not(.ant-table-expanded-row) > td { background: #ebf2f6 !important; diff --git a/src/routes/backup/BackupList.js b/src/routes/backup/BackupList.js index 03b3b787..0b37a9a9 100755 --- a/src/routes/backup/BackupList.js +++ b/src/routes/backup/BackupList.js @@ -351,7 +351,7 @@ class List extends React.Component { } return (
{ showBackupLabels(obj) }}> - +
) }, diff --git a/src/routes/backup/backupList.less b/src/routes/backup/backupList.less index 8e0fdce7..2d75a796 100644 --- a/src/routes/backup/backupList.less +++ b/src/routes/backup/backupList.less @@ -25,7 +25,6 @@ } .fullTag { - color: #1890ff; background: #e6f7ff; } } \ No newline at end of file