Repository navigation
恢复宽屏资源的双格卡片布局 - #58
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
改版后的样式把标记为宽屏的资源也限制在单列,导致预览全部变成方块。恢复已有的卡片跨度:紧凑组件占一格,宽屏表格、区块和完整页面跨两列;手机仍为单列。
保留四/三/二列断点、16px 间距及统一预览行高,资源顺序、筛选、收藏和卡片内交互不变。更新几何回归,验证宽卡片与普通卡片同时存在,移动端不产生隐式多列。
验证:
npm run check:类型/目录检查及 21 项单元测试通过。npm test:生产构建完成,189 项浏览器测试中 188 项通过(含 Firefox / WebKit 全部核心流程)。一项旧的“所有卡片等宽”断言已按单双格布局更新。npm run test:built -- tests/discovery.spec.mjs:10 项全部通过,覆盖更新后的断言、列表加载和详情返回。单双格几何测试另外覆盖 2560/1440/1024/768/375px 和中英文。设计规则与完整截图记录
Closes #57
后续修复自 #56。