Xianbao QIAN commited on
Commit
d384ea9
·
1 Parent(s): 98f8d8e

better display on the UI

Browse files
Files changed (1) hide show
  1. src/pages/trend/index.tsx +2 -2
src/pages/trend/index.tsx CHANGED
@@ -142,12 +142,12 @@ const TrendPage: React.FC<TrendProps> = ({ monthlyData = [], totalData = [], det
142
  className={`px-4 py-2 rounded transition-colors ${
143
  selectedProviders.includes(provider)
144
  ? 'text-white'
145
- : 'text-gray-900 dark:text-gray-300'
146
  }`}
147
  style={{
148
  backgroundColor: selectedProviders.includes(provider)
149
  ? color
150
- : 'rgb(229, 231, 235)',
151
  }}
152
  >
153
  {provider}
 
142
  className={`px-4 py-2 rounded transition-colors ${
143
  selectedProviders.includes(provider)
144
  ? 'text-white'
145
+ : 'text-gray-600 dark:text-gray-400'
146
  }`}
147
  style={{
148
  backgroundColor: selectedProviders.includes(provider)
149
  ? color
150
+ : 'transparent'
151
  }}
152
  >
153
  {provider}