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

Added primary color to selected section on consultation page fix #8186 #8188

Merged
Changes from 1 commit
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
6 changes: 4 additions & 2 deletions src/Components/Facility/ConsultationDetails/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,10 @@ export const ConsultationDetails = (props: any) => {
}

const tabButtonClasses = (selected: boolean) =>
`capitalize min-w-max-content cursor-pointer border-transparent text-secondary-700 hover:text-secondary-700 hover:border-secondary-300 font-bold whitespace-nowrap ${
selected === true ? "border-primary-500 text-primary-600 border-b-2" : ""
`capitalize min-w-max-content cursor-pointer border-transparent hover:border-secondary-300 font-bold whitespace-nowrap ${
selected === true
? "border-primary-500 text-primary-600 border-b-2"
: "text-secondary-700 hover:text-secondary-700"
rithviknishad marked this conversation as resolved.
Show resolved Hide resolved
}`;

return (
Expand Down
Loading