fix #492: add token context selection

This commit is contained in:
devmrko
2026-06-26 13:53:10 +09:00
parent cd7860e253
commit 210e0bd4d0
14 changed files with 383 additions and 12 deletions

View File

@@ -335,12 +335,29 @@ body {
min-width: 0;
}
.token-form {
align-items: start;
}
.token-form .rw-btn-primary {
align-self: end;
}
.form-grid label {
color: var(--rw-muted);
font-size: .875rem;
font-weight: 600;
}
.form-hint {
color: var(--rw-muted);
display: block;
font-size: .78rem;
font-weight: 500;
line-height: 1.35;
margin-top: .35rem;
}
.form-grid .span-2 {
grid-column: span 2;
}
@@ -547,6 +564,29 @@ body {
overflow-wrap: anywhere;
}
.token-context-preview {
align-self: stretch;
background: var(--rw-surface);
border: 1px solid var(--rw-border);
border-radius: 8px;
padding: .9rem;
}
.token-context-preview .compact-heading {
gap: .5rem;
margin-bottom: .75rem;
}
.token-context-preview .compact-heading h3 {
font-size: .92rem;
font-weight: 800;
margin: 0;
}
.token-context-preview .form-hint {
margin-bottom: 0;
}
.policy-apply-flow {
align-items: center;
display: flex;