beyondcode / beyondcode/devtoolsfortailwind-community

custom units aren't "preferred" in classes selection

未关闭
#25 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
没有语言数据
星标
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.

贡献指南

这个仓库没有索引到贡献指南

调研方向

在 Chrome 中打开 DevTools,并在 2560px 窗口中复现提供的 HTML 和 Tailwind 类,然后在关闭 DevTools 后比较应用的 grid 类。当始终一致地选择适当的 min-* 类,并且基础 grid-cols 类不再在 DevTools 中覆盖它时,该 issue 即完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
tailwindcss
领域
devtools, frontend
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。