docs: Subsequent headers are put on the same line
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- css
調査の方向性
リンクされている Virtualizer ドキュメントページとそのソース markdown から始めて、生成された見出しマークアップ、特に #required と #optional の見出しを比較します。見出しのアンカータグに適用されている CSS を調べ、隣接する見出しがインラインで表示される理由を特定します。Chromium で連続する見出しが別々の行に表示されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- TypeScript
- スター
- 7.1k
- フォーク
- 466
- 平均マージ
- 2日 31分
- マージ済み PR(30日)
- 13
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
TanStack/virtual のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 38/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 62/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
TanStack/virtual の issue をすべて見る
似ている issue
-
VerificationGate: ATTRIBUTION quote guard never matches a normal quotation (\b around the quote) オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
danielmiessler/LifeOS#2234 ·
-
T: Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
-
Mend: dependency security vulnerability untriaged
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100