Skip to content

fix: remove duplicated styles in index.css#1684

Open
guilhermefogacadev wants to merge 1 commit into
aryandas2911:mainfrom
guilhermefogacadev:fix/clean-index-css
Open

fix: remove duplicated styles in index.css#1684
guilhermefogacadev wants to merge 1 commit into
aryandas2911:mainfrom
guilhermefogacadev:fix/clean-index-css

Conversation

@guilhermefogacadev

Copy link
Copy Markdown

📌 Description

Removed the duplicated stylesheet code in frontend/src/index.css. The file contained three copies of the entire stylesheet, which caused conflicts with the .hover-lift class and increased the CSS bundle size unnecessarily. I removed the duplicates and kept the correct, most updated copy.

🔗 Related Issue

Closes #1681

🛠 Changes Made

  • Deleted the duplicated CSS code (lines 1 to 342) in frontend/src/index.css.
  • Ensured the correct .hover-lift class (with translateY(-6px) scale(1.015)) is preserved and working smoothly.
  • Maintained the smooth scroll behavior and footer variables from the final copy.

📸 Screenshots (if applicable)

N/A (Code cleanup / hover effect restored).

✅ Checklist

  • Code runs locally
  • Followed project structure
  • No console errors
  • Properly tested changes
  • Linked the issue

🚀 Notes for Reviewers

The GitHub Actions bot kept giving me a 6h cooldown loop when I tried to use /assign on the issue, so I went ahead and submitted the PR directly since the fix was straightforward. Ready for review!

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: frontend/src/index.css triplicated - entire stylesheet copied 3x with conflicting .hover-lift rules

1 participant