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

style: fix button background color when clicked in HomeBanner and Navbar #141

Merged

Conversation

gl-cardillo
Copy link
Contributor

@gl-cardillo gl-cardillo commented Jul 17, 2024

Description

Button colour still black once clicked.

Changes

This issue was caused by the :focus pseudo-class. It was applied to change the border and text color but not the background color. To resolve this, I have added the background change to the :focus pseudo-class.

fixes #125

@dvjsharma
Copy link
Owner

Hey @gl-cardillo, the same button is used multiple times throughout the UI, could you please fix them all in the PR?

@gl-cardillo
Copy link
Contributor Author

Hello @dvjsharma , I have fixed the background in all buttons that use focus:

@dvjsharma
Copy link
Owner

Hi @gl-cardillo ,changes looks good. Please rebase with latest master to remove the redundant commits.

@gl-cardillo gl-cardillo force-pushed the gl-cardillo/125/button-colour-clicked branch 2 times, most recently from 5a120a4 to 769a76e Compare July 18, 2024 19:56
@dvjsharma
Copy link
Owner

Uploading image.png…

@dvjsharma
Copy link
Owner

image

I can still see commits form other authors. Please rebase and force push.

@gl-cardillo gl-cardillo force-pushed the gl-cardillo/125/button-colour-clicked branch from 769a76e to c67cb62 Compare July 23, 2024 18:35
@dvjsharma dvjsharma merged commit ac1bce0 into dvjsharma:master Jul 24, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Button colour does not change when clicked
2 participants