patternfly / patternfly/patternfly-react
Table - add docs for using with container queries
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 862
- フォーク
- 392
- 平均マージ
- 4日 8時間
- マージ済み PR(30日)
- 9
説明
A short version of it is in core here - https://www.patternfly.org/components/table/html#responsive-layout-modifier-usage
IMO I'd like to at least update the wording so that "container queries" or "container query" are on the page somewhere in case someone searches for it. From the core docs, instead of this
Note: If a wrapping element creates an inline-size or size container with the container name pf-v6-contain-table, the breakpoints will apply to the container's width.
I'd advocate we add another h3 under the grid classes table with "Container queries" and some text like
To base the table's responsive classes on a container's width rather than the viewport, apply a CSS container named pf-v6-contain-table to the target ancestor element. For example:
.my-table-wrapper {
container: pf-v6-contain-table / inline-size;
}
Jira Issue: PF-4418
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
既存の Table ドキュメントを読み、issue にリンクされている core Table の responsive-layout modifier の使用方法と比較してください。grid classes のセクションを見つけ、検索可能な container-query ガイダンスと CSS の例 pf-v6-contain-table を追加し、レンダリングされたページに新しい見出しと説明が含まれていることを確認してください。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- css
- 領域
- documentation
- issue の種類
- ドキュメント
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 活発
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 78/100