Xianbao QIAN
commited on
Commit
·
d384ea9
1
Parent(s):
98f8d8e
better display on the UI
Browse files
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-
|
146 |
}`}
|
147 |
style={{
|
148 |
backgroundColor: selectedProviders.includes(provider)
|
149 |
? color
|
150 |
-
: '
|
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}
|