Skip to content

bug: frontend/src/index.css triplicated - entire stylesheet copied 3x with conflicting .hover-lift rules #1681

Description

@Siddh2024

Summary

The file frontend/src/index.css contains the entire stylesheet repeated three times (~533 lines total when it should be ~170 lines):

  • Copy 1: Lines 1–168
  • Copy 2: Lines 169–342
  • Copy 3: Lines 343–533

This more than triples the CSS bundle size for zero benefit.

Conflicting .hover-lift Definitions

The .hover-lift utility class is defined differently in each copy:

Copy 1 (line 136–142): translateY(-2px) with basic transition
Copy 2 (line 304–315): translateY(-6px) scale(1.015) with opacity
Copy 3 (line 489–500): same as Copy 2

Proposed Fix

  1. Remove duplicate copies (lines 1–342)
  2. Keep only the third copy
  3. Verify .hover-lift behavior is consistent

Labels: bug, frontend, good first issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfrontendIssues related to UI/UXgood first issueGood for newcomers

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions