-
Notifications
You must be signed in to change notification settings - Fork 178
docs: 设置 ul 的 list-style #214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
WalkthroughA new CSS rule was added to remove the default list styling from unordered lists ( Changes
Poem
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
apps/docs/.vitepress/theme/style.css (1)
136-138: Bullet markers are removed everywhere – verify intent & eliminate leftover indent
list-style: none;strips bullet symbols from everyulinside.vp-doc.
If the original issue was limited to specific component demos, this blanket rule may unintentionally wipe bullets from normal Markdown lists, tables-of-contents, etc.Two follow-ups to consider:
1. Add
padding-left: 0;so lists don’t keep an empty 40 px indent after bullets disappear.
2. Scope the selector to the affected component (e.g..vp-doc .el-ul) or use a utility class to avoid side effects..vp-doc ul { - list-style: none; + /* prevent VitePress override while keeping layout clean */ + list-style: none; + padding-left: 0; }Please double-check a few documentation pages to ensure expected visual behaviour.
一些组件的 ul 的 list-style 被 VitePress 的样式覆盖
Summary by CodeRabbit