Skip to content

fix: remove duplicate CSS blocks in index.css#690

Open
akhilmodi29 wants to merge 1 commit into
Charushi06:mainfrom
akhilmodi29:fix/studyplan-duplicate-css
Open

fix: remove duplicate CSS blocks in index.css#690
akhilmodi29 wants to merge 1 commit into
Charushi06:mainfrom
akhilmodi29:fix/studyplan-duplicate-css

Conversation

@akhilmodi29
Copy link
Copy Markdown

Fixes #689

Problem
The css/index.css file had its entire content duplicated
3 times. This caused:

  • CSS file size bloated from ~38KB to ~114KB
  • Style conflicts due to duplicate rule definitions
  • Browser having to parse 3x more CSS than needed
  • Inconsistent styles when duplicate rules had differences

Fix
Removed the two duplicate CSS blocks keeping only the
first clean and complete copy of the stylesheet.

Testing

  • All styles render correctly ✅
  • No duplicate rules in CSS ✅
  • File size reduced by ~66% ✅
  • No style conflicts ✅

@akhilmodi29
Copy link
Copy Markdown
Author

@Charushi06 Please review this PR and add the required labels including gssoc:approved. This fixes the duplicate CSS blocks bug in studyplan.

Labels suggested:

  • level:beginner
  • type:bug
  • quality:clean

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] css/index.css entire stylesheet is duplicated 3 times causing style conflicts and file bloat

1 participant