Skip to content

fix: remove duplicate CSS rules in index.css#1634

Open
Ashvin-KS wants to merge 1 commit into
aryandas2911:mainfrom
Ashvin-KS:fix/remove-unused-imports
Open

fix: remove duplicate CSS rules in index.css#1634
Ashvin-KS wants to merge 1 commit into
aryandas2911:mainfrom
Ashvin-KS:fix/remove-unused-imports

Conversation

@Ashvin-KS

Copy link
Copy Markdown
Contributor

Summary

Removes 2 duplicate copies of the same CSS rules that were causing code bloat.

Changes

  • rontend/src/index.css: Reduced from 533 lines to ~180 lines
  • Removed 2 identical copies of CSS rules (imports, variables, utilities, animations)
  • Kept only the unique html scroll behavior and ooter styles that were added in later copies

Why

The file contained the same CSS content repeated 3 times, likely from merge conflict resolution. This caused:

  • Unnecessary code bloat
  • Reduced readability and maintainability
  • Potential CSS rule overriding issues

Closes #1618

Removes 2 duplicate copies of the same CSS rules that were causing
code bloat. The file was 533 lines with identical content repeated
3 times. Now reduced to ~180 lines with a single copy.

Closes aryandas2911#1618
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: Duplicate CSS Rules Repeated Multiple Times in index.css Causing Code Bloat

1 participant