lazyjinchuriki / pokedex

A Pokedex website made in HTML5, CSS, Vanilla Javascript
https://lazyjinchuriki.github.io/pokedex/
23 stars 24 forks source link

fix: #18-Improving the Hover Effect of Types #25

Closed Kise07 closed 1 year ago

Kise07 commented 1 year ago

Fixes #18

What change does this PR introduce?

This Pull Request addresses an issue related to the hover effect on types within the project. The problem was that when hovering over specific types, a solid border enlarged and caused the entire inline box to change abnormally. To resolve this, we have implemented a new hover effect that ensures a smooth and visually appealing interaction without disrupting the layout or appearance of the inline box.

Why was this change needed?

The change was necessary to enhance the user experience by eliminating the abnormal behaviour caused by the previous hover effect. Users were experiencing layout disturbances and unexpected enlargements when interacting with certain types. This change ensures that the hover effect remains visually pleasing and responsive without negatively impacting the layout or user interaction.