Skip to content

chore(theme/Tabs): update style when nested Tabs in Tabs#2870

Merged
Timeless0911 merged 2 commits intomainfrom
syt/tabs-recursive-fix
Dec 9, 2025
Merged

chore(theme/Tabs): update style when nested Tabs in Tabs#2870
Timeless0911 merged 2 commits intomainfrom
syt/tabs-recursive-fix

Conversation

@SoonIter
Copy link
Copy Markdown
Member

@SoonIter SoonIter commented Dec 9, 2025

Summary

Before

image

After

image

Related Issue

Checklist

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

Copilot AI review requested due to automatic review settings December 9, 2025 07:46
@netlify
Copy link
Copy Markdown

netlify bot commented Dec 9, 2025

Deploy Preview for rspress-v2 ready!

Name Link
🔨 Latest commit eba19fc
🔍 Latest deploy log https://app.netlify.com/projects/rspress-v2/deploys/6937d5239a15930008cd7eed
😎 Deploy Preview https://deploy-preview-2870--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.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Dec 9, 2025

Rsdoctor Bundle Diff Analysis

📁 web

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

📌 Baseline Commit: 846a37aaf0 | PR: #2865

Metric Current Baseline Change
📊 Total Size 14.5 MB 14.5 MB -22.0 B (-0.0%)
📄 JavaScript 13.9 MB 13.9 MB 0 B (0.0%)
🎨 CSS 114.0 KB 114.0 KB -22.0 B (-0.0%)
🌐 HTML 0 B 0 B N/A
📁 Other Assets 502.1 KB 502.1 KB 0 B (0.0%)

📦 Download Diff Report: web Bundle Diff

Generated by Rsdoctor GitHub Action

Copy link
Copy Markdown
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 styling for the Tabs component to better handle nested Tabs scenarios and improves CSS maintainability by removing !important declarations.

  • Added styles to remove margins and borders when Tabs are nested within Tabs
  • Removed !important flags from codeblock styles for better CSS specificity management
  • Adjusted horizontal padding from 16px to 12px for codeblock titles

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

@SoonIter SoonIter requested a review from Timeless0911 December 9, 2025 09:11
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