fix #494: add delete impact confirmations

This commit is contained in:
devmrko
2026-06-26 14:33:25 +09:00
parent c8326f954d
commit cacf7b2bc4
13 changed files with 383 additions and 25 deletions

View File

@@ -638,6 +638,46 @@ body {
overflow-wrap: anywhere;
}
.delete-impact {
color: var(--rw-text);
max-width: 24rem;
min-width: 14rem;
overflow-wrap: anywhere;
}
.delete-impact div + div {
margin-top: .35rem;
}
.delete-impact span,
.delete-impact small {
color: var(--rw-muted);
display: block;
font-size: .76rem;
line-height: 1.35;
}
.delete-impact strong {
display: block;
font-weight: 800;
line-height: 1.35;
}
.delete-confirm {
align-items: center;
color: var(--rw-muted);
display: inline-flex;
font-size: .76rem;
font-weight: 700;
gap: .25rem;
margin: 0 .35rem .25rem 0;
white-space: nowrap;
}
.delete-confirm.disabled {
opacity: .55;
}
.policy-apply-flow {
align-items: center;
display: flex;