hide-on & show-on seem to break anything that isn't set as display block
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- scss
- 领域
- frontend
调研方向
使用 display: flex 的元素以及报告中描述的 hide-on 或 show-on 行为重现该问题。检查这些 SCSS 工具如何设置 display 值;完成标准是可见性变化不再替换元素现有的非 block display 模式。
由索引模型根据 Issue 内容生成。
描述
When using hide-on and show-on to change the visibility of an element set to display: flex; it seems to override the existing display mode and set it to block which is undesired. Setting show-on to display: inherit seems to have fixed this for me but I don't feel confident enough in my CSS skills to just go and submit a PR for this issue!
Would appreciate it if somebody a little more knowledgeable wouldn't mind testing this ;P
- 主要语言
- SCSS
- 星标
- 57
- 派生
- 7
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
electerious/basicGrid 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 38/100
electerious/basicGrid#12 ·
查看 electerious/basicGrid 的全部 Issue
相似的 Issue
-
UIUX の修正未关闭
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
BaryoDev/umbraco-pwa#196 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 66/100
OHDSI/Data2Evidence#3777 ·
维护者通常 3 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 64/100
microsoft/fluentui-blazor#5688 ·
维护者通常 1 天内回复