Skip to content

Conversation

@9aoy
Copy link
Contributor

@9aoy 9aoy commented Oct 16, 2025

Summary

Fix the Overview component style after updating to Rspress v2.0.0-beta.33.

Related Links

https://github.com/web-infra-dev/rspress/releases/tag/v2.0.0-beta.33

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@Copilot Copilot AI review requested due to automatic review settings October 16, 2025 03:47
@netlify
Copy link

netlify bot commented Oct 16, 2025

Deploy Preview for rstest-dev ready!

Name Link
🔨 Latest commit 23db4df
🔍 Latest deploy log https://app.netlify.com/projects/rstest-dev/deploys/68f06ae991bdb20008e4a9c8
😎 Deploy Preview https://deploy-preview-620--rstest-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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 updates the Overview component styling to maintain visual consistency after upgrading to Rspress v2.0.0-beta.33. The changes replace semantic <h2> elements with styled <div> elements and refactor the accompanying CSS to use a dedicated .title class.

Key Changes:

  • Replaced <h2> tags with <div className={styles.title}> in Overview and BuildOverview components
  • Introduced a new .title CSS class with explicit styling previously applied to h2 elements
  • Updated spacing, colors, and media query breakpoints to align with Rspress v2 design system

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
website/theme/components/ConfigOverview.tsx Replaced <h2> elements with styled <div> elements using the new .title class
website/theme/components/ConfigOverview.module.scss Added .title class, updated spacing/colors, and adjusted media query breakpoints

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@9aoy 9aoy merged commit b748535 into main Oct 16, 2025
23 of 27 checks passed
@9aoy 9aoy deleted the overview-ui branch October 16, 2025 04:00
@9aoy 9aoy mentioned this pull request Oct 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant