Skip to content

Commit

Permalink
Resolved the unwanted hover effect and the text colour remains consta…
Browse files Browse the repository at this point in the history
…nt (#10120)
  • Loading branch information
NikhilA8606 authored Jan 23, 2025
1 parent 999a41b commit 074d97a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ export function AppointmentSlotPicker({
: percentage >= 0.6
? "text-yellow-600"
: "text-green-600",
selectedSlotId === slot.id && "text-white",
)}
>
{availability.tokens_per_slot - slot.allocated}{" "}
Expand Down
2 changes: 2 additions & 0 deletions src/pages/PublicAppointments/Schedule.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,8 @@ export function ScheduleAppointment(props: AppointmentsProps) {
: percentage >= 0.6
? "text-yellow-600"
: "text-green-600",
selectedSlot?.id === slot.id &&
"text-white",
)}
>
{availability.tokens_per_slot -
Expand Down

0 comments on commit 074d97a

Please sign in to comment.