feedback1 final: the loadout screen's background layer draws again (pointed out in PR #14)

css/screens/loadout.css: `.lo > * { position: relative }` (one class, a later rule) overrode `.lo__bg { position:
absolute }`, so the mint glow / grid layer was a 0-px flex item and never rendered. `.lo > :where(:not(.lo__bg))`
keeps the one-class specificity for every other layer and never matches the background.

Checked in headless Chrome at 1920x1080 and 844x390 (touch): the layer now covers the overlay (0 px tall before),
every other box of the screen is unchanged, no console errors. Tests: test/ui/loadout.test.js (the cascade; fails on
the old rule), opt-in test/ui/loadout.e2e.test.js (the layer's box and stacking at both sizes). DESIGN §21.25 credits
PR #14 and PR #10 (crossOrigin on the two new Image() loads); CHANGELOG 0.1.1 lines for both.
This commit is contained in:
sganggs committed 2026-10-03 19:17:27 +08:00
1 parent 2dba6da598
commit e7d957b27c
5 files changed
+42 -2

No files matched your search

+2
View File
@@ -70,6 +70,8 @@
- 干员详情卡的攻击范围小图实时显示技能期间的范围;整备期棋盘上的范围提示、转向轮盘和详情卡显示同一个范围。
- 网页卡顿、切到后台或中途进场观战时,不会再漏掉敌人的变身,也不会在切回来后补播早已结束的变身动画。
- 灼热 / 炽焰源石虫:整合包附带官方模型;从源码运行且没有提取本机客户端素材时,显示染成橙色 / 红橙色的源石虫。
- 干员调配界面的背景(薄荷绿光晕和网格)恢复显示:一条样式规则把它压成了 0 像素高,界面其他部分位置不变(PR #14 指出)。
- 素材放在其他域名(CDN、对象存储)时,图片按跨域方式加载,地图和 3D 棋盘不再显示为空白(PR #10)。
- 变形同构体的详情卡列出天赋栏里的对应关系:每个盟约由哪些装备搭配,本局禁用的盟约会标出;装在干员身上时高亮正在生效的那一组,各盟约装备的详情也写明与变形同构体一同装备时携带者视为哪个盟约的成员。
- 调和让核心盟约人数 +1 时,盟约详情写明「含调和 +1」,成员列表上方列出带来这 1 人的调和干员(如缪尔赛思);查看队友的盟约时也一样。
- 选择策略时,围绕本局禁用盟约的策略(标准模拟下的潘格尼尼、克莱门莎、玛恩纳)标出「本局禁用」并在详情里说明,仍可选择。