Grid spacing classes force horizontal scroll when grid items wrap
まだ誰も着手していません。
評価
調査の方向性
まず、提供されたグリッドのマークアップをより小さいウィンドウサイズで再現し、grid gs64 fw-wrap で使用されているグリッドの間隔クラスを調査します。overflow-x-hidden の回避策に頼らなくても、折り返されたグリッド項目によって横スクロールが強制されなくなれば完了です。
索引モデルが issue の本文から書いたものです。
説明
When using our grid spacing classes responsively, they force a horizontal scroll when wrapping. This is the smallest example that will trigger this.
<div class="grid gs64 fw-wrap">
<div class="grid--cell">
This cell has dynamic content that ought to wrap with the window
</div>
<div class="grid--cell">
This cell has dynamic content that ought to wrap with the window
</div>
<div class="grid--cell">
This cell has dynamic content that ought to wrap with the window
</div>
<div class="grid--cell">
This cell has dynamic content that ought to wrap with the window
</div>
<div class="grid--cell">
This cell has dynamic content that ought to wrap with the window
</div>
</div>
At smaller window sizes, this forces a horizontal scroll.
Workaround
You can add an overflow-x-hidden to your parent for now, but we ought to solve the underlying issue.
- 主要言語
- TypeScript
- スター
- 672
- フォーク
- 107
- 平均マージ
- 2日 12時間
- マージ済み PR(30日)
- 26
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
StackExchange/Stacks のほかの issue
-
難易度 1/5 1〜3時間 初心者へのやさしさ 62/100
StackExchange/Stacks#1030 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 48/100
StackExchange/Stacks#1842 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
StackExchange/Stacks#1413 · コメント 2 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 50/100
StackExchange/Stacks#1242 ·
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
StackExchange/Stacks#1224 ·
StackExchange/Stacks の issue をすべて見る
似ている issue
-
bug(cli): hapi doctor inline-media prints a fabricated B:\ helper-script path in packaged installs オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
Crush オープン
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
catppuccin/catppuccin#3125 ·
-
Add a SECURITY.md オープン
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
ElementsProject/cln-application#167 · コメント 1 件 · リアクション 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Quantco/pnpm-licenses#17 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100