Skip to content

Combine duplicate media query blocks in hero.css#6

Merged
tomiwa-a merged 2 commits intofeat/webfrom
copilot/sub-pr-5
Feb 7, 2026
Merged

Combine duplicate media query blocks in hero.css#6
tomiwa-a merged 2 commits intofeat/webfrom
copilot/sub-pr-5

Conversation

Copy link
Contributor

Copilot AI commented Feb 7, 2026

Addresses code review feedback from PR #5 to merge duplicate @media (max-width: 1024px) blocks.

Changes:

  • Combined two separate @media (max-width: 1024px) blocks in apps/website/src/styles/hero.css into a single block

Before:

@media (max-width: 1024px) {
  .hero {
    padding-top: calc(var(--nav-height) + var(--space-16));
  }
}
@media (max-width: 1024px) {
  .hero > .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  /* ... more styles */
}

After:

@media (max-width: 1024px) {
  .hero {
    padding-top: calc(var(--nav-height) + var(--space-16));
  }

  .hero > .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  /* ... more styles */
}

Reduces duplication and improves maintainability of responsive breakpoints.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

….css

Co-authored-by: tomiwa-a <42651114+tomiwa-a@users.noreply.github.com>
Copilot AI changed the title [WIP] WIP address feedback on web feature implementation Combine duplicate media query blocks in hero.css Feb 7, 2026
Copilot AI requested a review from tomiwa-a February 7, 2026 20:36
@tomiwa-a tomiwa-a marked this pull request as ready for review February 7, 2026 20:39
Copilot AI review requested due to automatic review settings February 7, 2026 20:39
@tomiwa-a tomiwa-a merged commit 95a2675 into feat/web Feb 7, 2026
4 checks passed
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR consolidates duplicate responsive breakpoint definitions in the website hero stylesheet by merging two identical @media (max-width: 1024px) blocks into a single block, improving maintainability and reducing repetition.

Changes:

  • Removed the duplicate @media (max-width: 1024px) declaration and combined its rules into the existing block.
  • Preserved the existing responsive behavior while simplifying the structure of hero.css.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

3 participants