fix(prototype): ui-desktop 补 [hidden] display:none 守卫——登录静态屏 signup 表单不再与 signin 并排溢出
.login-form{display:flex} 作者样式覆盖了 hidden 属性的 UA display:none,致带 hidden 的
signupForm 被顶出来与 signin 并排、溢出 760px 分屏卡被裁。补 ui-mobile.html:93 同款
[hidden]{display:none!important} 全局守卫;已审计全部 hidden 元素均用 .hidden 属性切换,
无 style.display 依赖冲突。
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -294,6 +294,9 @@
|
||||
background:var(--bg-subtle); border:1px solid var(--border);
|
||||
border-radius:var(--radius-sm); padding:1px 6px; }
|
||||
.frame-note{ font-size:var(--text-caption); color:var(--fg3); font-weight:400; }
|
||||
/* hidden 属性必须赢过任何作者 display 规则(ui-mobile.html:93 同款守卫)——
|
||||
否则 .login-form{display:flex} 会把带 hidden 的 signupForm 顶出来,与 signin 并排溢出卡片 */
|
||||
[hidden]{ display:none !important; }
|
||||
|
||||
/* 登录分屏卡 */
|
||||
.login-win{ width:760px; max-width:100%; margin:0 auto; height:460px; display:flex; border-radius:16px; overflow:hidden;
|
||||
|
||||
Reference in New Issue
Block a user