Closed shenjunjian closed 1 week ago
The changes in this pull request involve significant modifications to the components.vue
, layout.vue
, and reset.less
files. In components.vue
, the template structure has been updated with a new ID for a scrollable area, affecting scrolling behavior and layout. In layout.vue
, enhancements include new properties for the tiny-tree-menu
, improved routing methods, and refined filtering logic. Additionally, reset.less
introduces new styles for popper components, enhancing visual consistency. These changes collectively aim to improve user navigation and the overall responsiveness of the documentation interface.
File Path | Change Summary |
---|---|
examples/sites/src/views/components.vue | - Added id="doc-layout-scoller" to <div class="docs-content"> .- Updated references from doc-layout to doc-layout-scoller in JavaScript functions.- Moved footer to be a sibling of the main content div. |
examples/sites/src/views/layout/layout.vue | - Introduced tiny-tree-menu with new properties for enhanced interaction.- Updated clickMenu , getMenuLink , and searchMenu methods.- Added collapseChange method for menu state management.- Adjusted CSS styles for layout responsiveness. |
packages/theme/src/base/reset.less | - Added styles for .tiny-popper with margin adjustments.- Consolidated styles for popper components with arrows, defining their appearance and positioning. |
components.vue
.components.vue
for better user experience.components.vue
.🐇 In a world of docs and scrolls,
A rabbit hops where knowledge rolls.
With menus that dance and layouts that gleam,
Navigation's a breeze, like a sweet dream.
So let’s celebrate with a joyful cheer,
For changes that make our path so clear! 🐰✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
[e2e-test-warn] The component to be tested is missing.
The title of the Pull request should look like "fix(vue-renderless): [action-menu, alert] fix xxx bug".
Please make sure you've read our contributing guide
PR
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
Other information
修复弹出层分离的问题。 调整组件页面的滚动元素, 改为 #doc-layout-scroller
以后整改时,可以通过 $refs 去访问 #doc-layout-scroller元素了
统一tiny-popper的样式
Summary by CodeRabbit
New Features
Bug Fixes
Style