Skip to content

Comments

Fix CSS specificity conflict, animation performance, and Norwegian terminology#321

Merged
pethers merged 3 commits intoindexdashboardfrom
copilot/sub-pr-319
Feb 19, 2026
Merged

Fix CSS specificity conflict, animation performance, and Norwegian terminology#321
pethers merged 3 commits intoindexdashboardfrom
copilot/sub-pr-319

Conversation

Copy link
Contributor

Copilot AI commented Feb 19, 2026

Addresses three code quality issues from PR #319 review feedback.

Changes

  • CSS Specificity: Removed generic .news-navigation > p selector that was overriding new semantic classes (.news-navigation-heading, .news-navigation-description)

  • Animation Performance: Replaced left property animation with GPU-accelerated transform: translateX() for shimmer effect

    /* Before: triggers layout recalculation every frame */
    left: -100%;
    animation: shimmer 4s linear infinite;
    @keyframes shimmer {
      0% { left: -100%; }
      100% { left: 100%; }
    }
    
    /* After: GPU-accelerated, no layout thrashing */
    transform: translateX(-100%);
    will-change: transform;
    animation: shimmer 4s linear infinite;
    @keyframes shimmer {
      0% { transform: translateX(-100%); }
      100% { transform: translateX(0%); }
    }
  • Norwegian Terminology: Fixed "komiténettsanalyse" → "komiténettverksanalyse" to match dashboard terminology

Screenshot

Norwegian dashboard with corrected terminology


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI changed the title [WIP] Enhance news navigation and add Intelligence Dashboard CTA Fix CSS specificity conflict, animation performance, and Norwegian terminology Feb 19, 2026
Copilot AI requested a review from pethers February 19, 2026 02:27
@pethers pethers marked this pull request as ready for review February 19, 2026 02:28
@pethers pethers merged commit b0498cb into indexdashboard Feb 19, 2026
@pethers pethers deleted the copilot/sub-pr-319 branch February 19, 2026 02:28
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.

2 participants