Skip to content

Fix unwanted tilt animation on theme toggle button#117

Merged
Mohit-368 merged 1 commit into
Mohit-368:mainfrom
suhanimaurya05:fix-theme-toggle-tilt
May 16, 2026
Merged

Fix unwanted tilt animation on theme toggle button#117
Mohit-368 merged 1 commit into
Mohit-368:mainfrom
suhanimaurya05:fix-theme-toggle-tilt

Conversation

@suhanimaurya05
Copy link
Copy Markdown
Contributor

Closes #116

Description

This PR fixes the unwanted tilt animation on the theme toggle button during hover interaction. The rotation effect was causing inconsistent UI behavior and affecting user experience.

Changes Made

  • Removed rotate(15deg) from the theme toggle hover transform
  • Kept the smooth scaling effect for interactive feedback
  • Improved UI consistency of the theme toggle button

Before

Theme toggle button tilted unexpectedly on hover due to rotation transform.

After

Theme toggle button scales smoothly on hover without unnecessary tilt animation.

Checklist

  • Code follows project guidelines
  • Changes tested locally
  • No additional warnings/errors introduced
  • Linked the related issue

Screenshot

image

@netlify
Copy link
Copy Markdown

netlify Bot commented May 15, 2026

Deploy Preview for makeareadme ready!

Name Link
🔨 Latest commit f3d741b
🔍 Latest deploy log https://app.netlify.com/projects/makeareadme/deploys/6a078ca89bff0300080bdc2f
😎 Deploy Preview https://deploy-preview-117--makeareadme.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@suhanimaurya05
Copy link
Copy Markdown
Contributor Author

I HAVE FIXED THE ISSUE . KINDLY ASSIGN IT TO ME.

@Mohit-368 Mohit-368 merged commit 9f8dbe5 into Mohit-368:main May 16, 2026
8 checks passed
@suhanimaurya05
Copy link
Copy Markdown
Contributor Author

Thank you for reviewing and merging my PR! I appreciate the opportunity to contribute. Looking forward to contributing more 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug : Theme Toggle Button Tilts Unexpectedly on Hover

2 participants