Skip to content

Commit 876d01a

Browse files
committed
style fixes
1 parent 15e8edc commit 876d01a

File tree

4 files changed

+13
-10
lines changed

4 files changed

+13
-10
lines changed

dashboard/ai-analytics/src/app/components/CostPredictionModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,7 @@ export default function CostPredictionModal({
728728
type="text"
729729
value={query}
730730
onChange={(e) => setQuery(e.target.value)}
731-
placeholder="Ask about cost predictions..."
731+
placeholder="Ask about cost calculations..."
732732
className="w-full bg-gray-800 text-white rounded-lg pl-10 pr-4 py-3 focus:outline-none focus:ring-2 focus:ring-blue-500"
733733
/>
734734
</div>

dashboard/ai-analytics/src/app/components/FilterChips.tsx

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,18 @@ interface FilterChip {
88

99
export default function FilterChips({ dimension, value, onRemove }: FilterChip) {
1010
return (
11-
<div className="flex items-center gap-2 px-2 py-1 bg-gray-800 border border-gray-700">
12-
<span className="text-gray-400">{dimension}</span>
13-
<span className="text-gray-400">is</span>
14-
<span className="font-medium text-white">{value}</span>
11+
<div className="flex items-center gap-2 px-3 py-2 text-sm rounded-md border border-gray-200 dark:border-gray-700 bg-white dark:bg-gray-800 shadow-sm">
12+
<span className="text-gray-500 dark:text-gray-400">{dimension}</span>
13+
<span className="text-gray-500 dark:text-gray-400">is</span>
14+
<span className="font-medium text-gray-900 dark:text-white">{value}</span>
1515
<button
1616
onClick={() => onRemove(value)}
17-
className="ml-1 text-gray-400 hover:text-white transition-colors"
17+
className="ml-1 text-gray-400 hover:text-gray-700 dark:hover:text-white transition-colors"
18+
aria-label={`Remove ${dimension} filter for ${value}`}
1819
>
19-
×
20+
<svg xmlns="http://www.w3.org/2000/svg" className="h-4 w-4" viewBox="0 0 20 20" fill="currentColor">
21+
<path fillRule="evenodd" d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z" clipRule="evenodd" />
22+
</svg>
2023
</button>
2124
</div>
2225
);

dashboard/ai-analytics/src/app/components/SparkChart.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ import {
6767
showYAxis={true}
6868
showLegend={false}
6969
showGridLines={false}
70-
showAnimation={true}
70+
showAnimation={false}
7171
curveType="monotone"
7272
stack={isStacked}
7373
/>

dashboard/ai-analytics/src/app/components/TimeseriesChart.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ export default function TimeseriesChart({ data, filters, onFiltersChange }: Time
224224
valueFormatter={costValueFormatter}
225225
className="h-[calc(100%-24px)] mt-10 hidden md:block"
226226
showTooltip={true}
227-
showAnimation={true}
227+
showAnimation={false}
228228
showXAxis={true}
229229
/>
230230
<BarChart
@@ -238,7 +238,7 @@ export default function TimeseriesChart({ data, filters, onFiltersChange }: Time
238238
valueFormatter={costValueFormatter}
239239
className="h-[calc(100%-24px)] mt-6 md:hidden"
240240
showTooltip={true}
241-
showAnimation={true}
241+
showAnimation={false}
242242
showXAxis={true}
243243
/>
244244
</div>

0 commit comments

Comments
 (0)