automatyzacje-comit3

This commit is contained in:
Mateusz Gruszczyński
2026-05-07 08:48:59 +02:00
parent f9280daa21
commit e99d19ece0
2 changed files with 32 additions and 9 deletions

View File

@@ -1317,49 +1317,67 @@ body.mobile-mode .mobile-card {
border-radius: 999px;
background: var(--bs-secondary-bg);
font-size: 0.78rem;
overflow-wrap: anywhere;
white-space: normal;
word-break: break-word;
}
.automation-history-toolbar {
display: flex;
justify-content: flex-end;
margin-bottom: 0.5rem;
}
/* Note: Automation history has fixed compact metadata columns and a flexible Actions column, so long JSON cannot overlap Time/Rule. */
.automation-history-table {
width: 100%;
table-layout: fixed;
white-space: normal;
}
.automation-history-table th,
.automation-history-table td {
min-width: 0;
vertical-align: top;
}
.automation-history-table th:nth-child(1),
.automation-history-table td:nth-child(1) {
width: 10.5rem;
width: 9rem;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.automation-history-table th:nth-child(2),
.automation-history-table td:nth-child(2) {
width: 13rem;
width: 11rem;
overflow: hidden;
overflow-wrap: anywhere;
word-break: break-word;
}
.automation-history-table th:nth-child(3),
.automation-history-table td:nth-child(3) {
width: 14rem;
width: 12rem;
overflow: hidden;
overflow-wrap: anywhere;
word-break: break-word;
}
.automation-history-table th:nth-child(4),
.automation-history-table td:nth-child(4) {
width: auto;
min-width: 0;
overflow: hidden;
overflow-wrap: anywhere;
word-break: break-word;
}
.automation-history-details {
display: block;
min-width: 0;
max-width: 100%;
}
.automation-history-details summary {
display: block;
max-width: 100%;
cursor: pointer;
list-style-position: inside;
overflow-wrap: anywhere;
white-space: normal;
word-break: break-word;
}
.automation-history-details pre,
.automation-history-raw {
@@ -1371,6 +1389,7 @@ body.mobile-mode .mobile-card {
border: 1px solid var(--bs-border-color);
border-radius: 0.5rem;
background: var(--bs-tertiary-bg);
overflow-wrap: anywhere;
white-space: pre-wrap;
word-break: break-word;
}