fix(hub): stop instance iframe nav flash after account status badge

Load account_risk_badge.css before body paint, skip redundant hub theme re-apply, remove iframe hide overlay, and disable badge transitions in hub embed.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-17 19:36:48 +08:00
parent 6520234bd8
commit d8dccb8606
9 changed files with 48 additions and 75 deletions
+3 -3
View File
@@ -3,8 +3,9 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<script src="/static/instance_theme.js?v=7"></script>
<link rel="stylesheet" href="/static/instance_theme_early.css?v=2">
<script src="/static/instance_theme.js?v=8"></script>
<link rel="stylesheet" href="/static/instance_theme_early.css?v=3">
<link rel="stylesheet" href="/static/account_risk_badge.css?v=2">
<meta name="theme-color" content="#0b0d14">
<meta name="apple-mobile-web-app-title" content="监控">
@@ -236,7 +237,6 @@
.stats-period-block .sub{font-size:.78rem;color:#8892b0;margin-bottom:10px;line-height:1.4}
</style>
<link rel="stylesheet" href="/static/instance_theme.css?v=14">
<link rel="stylesheet" href="/static/account_risk_badge.css?v=1">
</head>
<body data-page="{{ page }}">