beyondcode / beyondcode/devtoolsfortailwind-community
custom units aren't "preferred" in classes selection
- 主要言語
- 言語のデータがありません
- スター
- 5
- フォーク
- 0
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
I know it's a rare issue, but still, i think it's worth sharing.
Here is a component that displays a certain number of cards according to screen width (hence the precise numbers).
```
```
In the browser without DevTools, the min-* classes have higher priority: if my window width is 2560px, i'll have 6 rows.
But in Chrom with DevTools, the grid-cols-[repeat(1,_minmax(273px,_1fr))] is applied, whatever the actual window width.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
提供された HTML と Tailwind クラスを、DevTools を開いた 2560px のウィンドウで Chrome 上に再現し、その後、DevTools を閉じた状態で適用される grid class と比較します。適切な min-* class が常に選択され、DevTools で base grid-cols class がそれを上書きしなくなれば、Issue は完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- tailwindcss
- 領域
- devtools, frontend
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100