Options: collapse open rules; move open-guard tip into risk policy.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-20 08:46:02 +08:00
parent ed1ec6f14a
commit 88d460d484
8 changed files with 43 additions and 19 deletions
+6 -1
View File
@@ -4791,14 +4791,19 @@ html[data-theme="light"] .opt-source-badge--oo {
font-weight: 700;
font-variant-numeric: tabular-nums;
}
.options-page-wrap .opt-close-rule {
.options-page-wrap .opt-close-rule,
.options-page-wrap .opt-open-rule {
margin-top: 8px;
margin-bottom: 10px;
padding: 0;
border: 1px solid rgba(67, 82, 118, 0.55);
border-radius: 10px;
background: rgba(14, 19, 30, 0.58);
overflow: hidden;
}
.options-page-wrap .opt-open-rule {
margin-top: 4px;
}
.options-page-wrap .opt-close-rule summary {
display: flex;
align-items: center;