Skip to content

fix(theme): line-height of SourceCode component#2783

Merged
Timeless0911 merged 3 commits intomainfrom
syt/source-code-height
Nov 18, 2025
Merged

fix(theme): line-height of SourceCode component#2783
Timeless0911 merged 3 commits intomainfrom
syt/source-code-height

Conversation

@SoonIter
Copy link
Member

Summary

fix(theme): line-height of SourceCode component

Related Issue

Checklist

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

Copilot AI review requested due to automatic review settings November 18, 2025 12:39
@netlify
Copy link

netlify bot commented Nov 18, 2025

Deploy Preview for rspress-v2 ready!

Name Link
🔨 Latest commit a915a80
🔍 Latest deploy log https://app.netlify.com/projects/rspress-v2/deploys/691c6b0b5b47ce0008ee9574
😎 Deploy Preview https://deploy-preview-2783--rspress-v2.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 fixes the line-height styling of the SourceCode component by replacing an empty comment placeholder with an actual CSS property.

  • Adds line-height: 1.5em; to the __text element of the SourceCode component
  • Removes the placeholder comment // Text styling if needed

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

@github-actions
Copy link
Contributor

github-actions bot commented Nov 18, 2025

Rsdoctor Bundle Diff Analysis

📁 web

Path: website/doc_build/web/rsdoctor-data.json

Metric Current Baseline Change
📊 Total Size 14.3 MB 14.3 MB 8.5 KB (0.1%)
📄 JavaScript 13.7 MB 13.7 MB 8.4 KB (0.1%)
🎨 CSS 109.4 KB 109.4 KB 56.0 B (0.1%)
🌐 HTML 0 B 0 B N/A
📁 Other Assets 496.7 KB 496.7 KB 0 B (0.0%)

📦 Download Diff Report: web Bundle Diff

Generated by Rsdoctor GitHub Action

@Timeless0911 Timeless0911 merged commit bfc8cf0 into main Nov 18, 2025
9 checks passed
@Timeless0911 Timeless0911 deleted the syt/source-code-height branch November 18, 2025 13:08
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.

3 participants