Skip to content

style(docs): center demo source loading - #170

Merged
cc-hearts merged 1 commit into
mainfrom
style/demo-source-loading
Aug 6, 2026
Merged

style(docs): center demo source loading#170
cc-hearts merged 1 commit into
mainfrom
style/demo-source-loading

Conversation

@cc-hearts

Copy link
Copy Markdown
Member

This is a ...

  • Site / documentation improvement
  • Demo improvement

Related Issues

N/A

Background and Solution

The loading spinner shown while fetching demo source code was aligned to the start of the code panel and had limited vertical spacing. This centers the spinner horizontally and applies token-based vertical padding to make the loading state visually balanced.

Validation: vp check packages/docs/src/components/doc-demo/demo.vue

Change Log

Language Changelog
English Center the demo source loading indicator and improve its vertical spacing.
Chinese 居中显示 Demo 源码加载指示器,并优化上下间距。

@cc-hearts
cc-hearts merged commit 2abbca3 into main Aug 6, 2026
1 check passed
@cc-hearts
cc-hearts deleted the style/demo-source-loading branch August 6, 2026 01:54
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