Vaibhav_Dashboard_Enhancement #9

Merged
vikas.nale merged 6 commits from Vaibhav_Dashboard_Enhancement into Feature_Task_Management 2025-04-15 11:42:46 +00:00
Showing only changes of commit 9a5bf23712 - Show all commits

View File

@ -230,13 +230,13 @@ const Dashboard = () => {
</div>
{/* Row 2: Time Range Buttons */}
<div className="d-flex flex-wrap gap-2 mt-2">
<div className="d-flex flex-wrap mt-2">
{["1D", "1W", "15D", "1M", "3M", "1Y", "5Y"].map((key) => (
<button
key={key}
className={`border-0 bg-transparent px-2 py-1 text-sm rounded ${
range === key
? "fw-bold border-bottom border-primary text-primary"
? " border-bottom border-primary text-primary"
: "text-muted"
}`}
style={{ cursor: "pointer", transition: "all 0.2s ease" }}