Skip to content

Commit

Permalink
modified the doctor profile card
Browse files Browse the repository at this point in the history
  • Loading branch information
yazdanhaider committed Oct 23, 2024
1 parent b5ebd7b commit 78ed829
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Frontend/src/components/Doctors.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ const Doctors = ({ doctors }) => {
<motion.button
whileHover={{ scale: 1.1 }}
whileTap={{ scale: 0.9 }}
className="absolute bottom-2 right-2 bg-accent text-black p-1.5 rounded-full flex items-center justify-center shadow-md"
className="absolute top-2 right-2 bg-accent text-black p-1.5 rounded-full flex items-center justify-center shadow-md"
onClick={(e) => {
e.stopPropagation(); // Prevent triggering the card click event
handleOpenModal(doctor); // Open modal on 'i' button click
Expand Down

0 comments on commit 78ed829

Please sign in to comment.