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

Add hover effect to buttons for improved UI interaction #171

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all 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
8 changes: 4 additions & 4 deletions eduaid_web/src/pages/Question_Type.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const Question_Type = () => {
<div className="flex flex-col items-center mt-8">
<div
onClick={() => handleOptionClick("get_shortq")}
className="flex my-3 items-center w-full max-w-lg cursor-pointer rounded-xl gap-6 px-6 py-6 bg-opacity-50 bg-[#202838]"
className={`flex my-3 items-center w-full max-w-lg cursor-pointer rounded-xl gap-6 px-6 py-6 bg-opacity-50 bg-[#202838] hover:bg-[#2a3349]`}
>
<div
className={`w-10 h-10 rounded-full ${
Expand All @@ -55,7 +55,7 @@ const Question_Type = () => {
</div>
<div
onClick={() => handleOptionClick("get_mcq")}
className="flex my-3 items-center w-full max-w-lg cursor-pointer rounded-xl gap-6 px-6 py-6 bg-opacity-50 bg-[#202838]"
className={`flex my-3 items-center w-full max-w-lg cursor-pointer rounded-xl gap-6 px-6 py-6 bg-opacity-50 bg-[#202838] hover:bg-[#2a3349]`}
>
<div
className={`w-10 h-10 rounded-full ${
Expand All @@ -70,7 +70,7 @@ const Question_Type = () => {
</div>
<div
onClick={() => handleOptionClick("get_boolq")}
className="flex my-3 items-center w-full max-w-lg cursor-pointer rounded-xl gap-6 px-6 py-6 bg-opacity-50 bg-[#202838]"
className={`flex my-3 items-center w-full max-w-lg cursor-pointer rounded-xl gap-6 px-6 py-6 bg-opacity-50 bg-[#202838] hover:bg-[#2a3349]`}
>
<div
className={`w-10 h-10 rounded-full ${
Expand All @@ -85,7 +85,7 @@ const Question_Type = () => {
</div>
<div
onClick={() => handleOptionClick("get_problems")}
className="flex my-3 items-center w-full max-w-lg cursor-pointer rounded-xl gap-6 px-6 py-6 bg-opacity-50 bg-[#202838]"
className={`flex my-3 items-center w-full max-w-lg cursor-pointer rounded-xl gap-6 px-6 py-6 bg-opacity-50 bg-[#202838] hover:bg-[#2a3349]`}
>
<div
className={`w-10 h-10 rounded-full ${
Expand Down