docs: Subsequent headers are put on the same line
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- css
- Lĩnh vực
- documentation
Hướng nghiên cứu
Bắt đầu với trang tài liệu Virtualizer được liên kết và markdown nguồn của trang đó để so sánh markup tiêu đề được tạo ra, đặc biệt là các tiêu đề #required và #optional. Kiểm tra CSS được áp dụng cho các thẻ anchor của tiêu đề và xác định lý do các tiêu đề liền kề được hiển thị inline; hoàn thành khi các tiêu đề liên tiếp xuất hiện trên các dòng riêng biệt trong Chromium.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Describe the bug
If two headings are immediately following eachother, the second heading is rendered on the same line as the first.
This is visible on the Virtualizer page, where there is an h2 followed by an h3
This seems to be a CSS issue, as these headers are wrapped in <a> tags, which might be being rendered inline. This might be an issue with the TanStack docs generation instead of virtual itself, as the markdown for this page looks pretty normal: https://github.com/TanStack/virtual/blob/main/docs/api/virtualizer.md
Observed on Chromium
Your minimal, reproducible example
https://tanstack.com/virtual/latest/docs/api/virtualizer
Steps to reproduce
- Go to https://tanstack.com/virtual/latest/docs/api/virtualizer
- Look for the
#requiredand#optionalheaders - ???
- Profit
Expected behavior
Headers are on separate lines, even if immediately preceded by another header.
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
Chromium on MacOS
tanstack-virtual version
v3.13.2
TypeScript version
No response
Additional context
No response
Terms & Code of Conduct
- I agree to follow this project's Code of Conduct
- I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.
- Ngôn ngữ chính
- TypeScript
- Star
- 7.1k
- Fork
- 466
- Merge trung bình
- 2 ngày 31 phút
- Pull request đã merge (30 ngày)
- 13
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của TanStack/virtual
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 38/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 62/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
Tất cả issue của TanStack/virtual
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
mksglu/context-mode#1200 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
jaegertracing/jaeger-ui#4506 ·
-
area:desktop area:ui bug platform:macos
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
anthropics/claude-code#96687 ·
-
good first issue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 95/100
AOSSIE-Org/DebateAI#582 · 2 bình luận ·