Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolved the unwanted hover effect and the text colour remains constant #10120

Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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" : "",
rithviknishad marked this conversation as resolved.
Show resolved Hide resolved
)}
>
{availability.tokens_per_slot - slot.allocated}{" "}
Expand Down
3 changes: 3 additions & 0 deletions src/pages/PublicAppointments/Schedule.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,9 @@ export function ScheduleAppointment(props: AppointmentsProps) {
: percentage >= 0.6
? "text-yellow-600"
: "text-green-600",
selectedSlot?.id === slot.id
? "text-white"
: "",
rithviknishad marked this conversation as resolved.
Show resolved Hide resolved
)}
>
{availability.tokens_per_slot -
Expand Down
Loading