Split risk policy into its own navigation tab.
Move read-only risk control docs to /risk_policy before settings; keep transfers and exports on the settings page. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
options: "/options",
|
||||
records: "/records",
|
||||
stats: "/stats",
|
||||
risk_policy: "/risk_policy",
|
||||
settings: "/settings",
|
||||
};
|
||||
|
||||
@@ -242,9 +243,9 @@
|
||||
}
|
||||
|
||||
function syncShellChrome(tab) {
|
||||
const onSettings = tab === "settings";
|
||||
const hideTopBar = tab === "settings" || tab === "risk_policy";
|
||||
document.querySelectorAll(".instance-top-bar").forEach((el) => {
|
||||
el.hidden = onSettings;
|
||||
el.hidden = hideTopBar;
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -2181,6 +2181,19 @@ html[data-theme="light"] .journal-detail-img-thumb {
|
||||
background: #eef2f7;
|
||||
}
|
||||
|
||||
/* ── 风控说明页 ── */
|
||||
.risk-policy-page {
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
.settings-page--ops {
|
||||
max-width: 720px;
|
||||
}
|
||||
|
||||
.settings-page--ops .settings-card--side-panel {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
/* ── 系统设置页 ── */
|
||||
.settings-page {
|
||||
margin-top: 12px;
|
||||
|
||||
Reference in New Issue
Block a user