Update text color
Change the text color for a specific case.
This commit is contained in:
@@ -49,10 +49,7 @@ const BudgetCard: React.FC<BudgetCardProps> = ({
|
||||
</div>
|
||||
|
||||
<div className="mt-2 flex justify-end">
|
||||
<span className={cn(
|
||||
"text-xs font-medium",
|
||||
percentage >= 90 ? "text-neuro-expense" : "text-gray-500"
|
||||
)}>
|
||||
<span className="text-xs font-medium text-gray-500">
|
||||
{percentage}%
|
||||
</span>
|
||||
</div>
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
|
||||
import React, { useState } from 'react';
|
||||
import { Tabs, TabsContent, TabsList, TabsTrigger } from '@/components/ui/tabs';
|
||||
import { Input } from '@/components/ui/input';
|
||||
@@ -103,7 +104,7 @@ const BudgetTabContent: React.FC<BudgetTabContentProps> = ({
|
||||
</div>
|
||||
|
||||
<div className="mt-2 flex justify-end">
|
||||
<span className={`text-xs font-medium ${percentage >= 90 ? "text-neuro-expense" : "text-gray-500"}`}>
|
||||
<span className="text-xs font-medium text-gray-500">
|
||||
{percentage}%
|
||||
</span>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user