Skip to content

feat: Set the style of the tip#112

Merged
zzcr merged 1 commit into
devfrom
wyp/style-0722
Jul 24, 2026
Merged

feat: Set the style of the tip#112
zzcr merged 1 commit into
devfrom
wyp/style-0722

Conversation

@wuyiping0628

@wuyiping0628 wuyiping0628 commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator

统一文档提示模版的样式,保持和tiny-robot一致

Summary by CodeRabbit

  • Bug Fixes
    • Fixed custom content blocks so their layouts display consistently across all documentation pages.
    • Improved grid alignment and list styling within custom blocks for a more reliable reading experience.

@coderabbitai

coderabbitai Bot commented Jul 22, 2026

Copy link
Copy Markdown

Review Change Stack

Walkthrough

The custom-block grid and list styling selectors in the VitePress theme now apply to all .vp-doc content instead of only Tiny Robot-scoped document sections.

Changes

Custom-block layout

Layer / File(s) Summary
Broaden custom-block selector scope
.vitepress/theme/style.css
Custom-block containers, direct children, pseudo-elements, and list spacing now use general .vp-doc selectors rather than _tiny-robot_-scoped selectors.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Poem

I’m a bunny with a stylesheet bright,
Broadening blocks to fit just right.
Grids now hop through every doc,
Lists align around the clock.
Tiny scopes now rest—
All blocks look their best!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title is related to the CSS styling change for tip/custom-block layout, though it is a bit broad.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch wyp/style-0722

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@zzcr
zzcr merged commit 31e8737 into dev Jul 24, 2026
2 of 3 checks passed
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