Skip to content

docs(tooltip): 更新文档排版样式 - #8

Merged
vaebe merged 1 commit into
mainfrom
docs-tooltip
Nov 13, 2025
Merged

docs(tooltip): 更新文档排版样式#8
vaebe merged 1 commit into
mainfrom
docs-tooltip

Conversation

@vaebe

@vaebe vaebe commented Nov 13, 2025

Copy link
Copy Markdown
Owner

Summary by CodeRabbit

  • Documentation
    • Simplified and updated tooltip component demo layouts and styling for improved visual consistency and cleaner presentation.

@coderabbitai

coderabbitai Bot commented Nov 13, 2025

Copy link
Copy Markdown

Caution

Review failed

The pull request is closed.

Walkthrough

CSS styling blocks for multiple tooltip demos were removed from the documentation file, including demo-specific rules for basic, theme, content, trigger, delay, disabled, and manual variants. Additionally, the margin layout for the placement demo was adjusted from centered (20px auto) to left-aligned (0 auto).

Changes

Cohort / File(s) Summary
Tooltip Documentation Styling Updates
packages/docs/components/tooltip/index.md
Removed 7 demo-specific CSS style blocks (.demo-tooltip-basic, .demo-tooltip-theme, .demo-tooltip-content, .demo-tooltip-trigger, .demo-tooltip-delay, .demo-tooltip-disabled, .demo-tooltip-manual); updated .demo-tooltip-placement margin from 20px auto to 0 auto

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

  • Single documentation file affected
  • Straightforward CSS removal and one margin value change
  • No logic or functional changes involved

Possibly related PRs

  • feat: tooltip #6 — Directly edits the same tooltip documentation file to remove demo-specific style blocks and adjust demo margins.

Poem

🐰 Hopping through the styles so neat,
Tooltips dancing, oh what a treat!
Cleaned up the chaos, margins aligned,
Documentation pristine, perfectly designed!

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch docs-tooltip

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between a406074 and b945e2d.

📒 Files selected for processing (1)
  • packages/docs/components/tooltip/index.md (1 hunks)

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 and usage tips.

@vaebe
vaebe merged commit ca11424 into main Nov 13, 2025
1 of 2 checks passed
@vaebe
vaebe deleted the docs-tooltip branch November 13, 2025 10:16
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.

1 participant