ui: toast per-type durations, Details modal for long errors, concise acme.sh failure summary
This commit is contained in:
@@ -380,6 +380,37 @@ body {
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
/* Compact rendering for long messages: single line, ellipsized. */
|
||||
.toast-message .toast-text-long {
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.toast-message .toast-details {
|
||||
font-size: 12px;
|
||||
text-decoration: underline;
|
||||
text-underline-offset: 2px;
|
||||
padding: 0 4px;
|
||||
}
|
||||
|
||||
/* Full message inside the toast Details modal. */
|
||||
.toast-details-msg {
|
||||
font-family: monospace;
|
||||
font-size: 0.8rem;
|
||||
line-height: 1.4;
|
||||
white-space: pre-wrap;
|
||||
word-break: break-word;
|
||||
margin: 0;
|
||||
padding: 0.75rem;
|
||||
background: rgba(0, 0, 0, 0.35);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 6px;
|
||||
max-height: 60vh;
|
||||
overflow-y: auto;
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.toast-message .toast-actions {
|
||||
display: flex;
|
||||
gap: 2px;
|
||||
|
||||
Reference in New Issue
Block a user