Show damage optimizer effects in table

This commit is contained in:
Jan Bader
2026-06-20 23:55:56 +02:00
parent 8a3c703961
commit 630d6d6fd6
3 changed files with 51 additions and 40 deletions
+22 -12
View File
@@ -278,22 +278,32 @@ h3 { margin-bottom: 0; }
margin-bottom: 0.25rem;
}
.optimum-results strong { font-size: 1.35rem; }
.optimum-suggestion {
margin: 0;
color: var(--accent);
font-weight: 800;
overflow-wrap: anywhere;
.effect-comparison-wrap { overflow-x: auto; }
.effect-comparison-table {
width: 100%;
border-collapse: collapse;
min-width: 680px;
}
.current-effect-summary {
border-top: 1px solid var(--border);
padding-top: 0.75rem;
.effect-comparison-table th,
.effect-comparison-table td {
border-bottom: 1px solid var(--border);
padding: 0.55rem 0.65rem;
text-align: right;
white-space: nowrap;
}
.current-effect-summary h3 {
.effect-comparison-table thead th {
color: var(--muted);
font-size: 0.95rem;
margin-bottom: 0.35rem;
font-size: 0.82rem;
font-weight: 700;
}
.current-effect-summary .optimum-suggestion { color: var(--text); }
.effect-comparison-table th:first-child,
.effect-comparison-table td:first-child { text-align: left; }
.effect-comparison-table tbody th {
color: var(--text);
font-weight: 700;
}
.effect-comparison-table tbody td { color: var(--accent); font-weight: 800; }
.effect-comparison-table tbody td:empty::after { content: ""; }
.swap-actions {
display: flex;
flex-wrap: wrap;