fix(ui): stack audit content fields vertically and wrap long values
Test / test (push) Failing after 13m24s
Test / test (push) Failing after 13m24s
This commit is contained in:
1 parent
0c2e3561d6
commit
194dfc9644
3 files changed
+10
-9
No files matched your search
+1
-1
@@ -156,7 +156,7 @@ function diffCell(row, side) {
|
||||
const labels = side === "before" ? row.beforeLabels : row.afterLabels;
|
||||
const parts = row.fields.filter((field) => field[side] !== undefined);
|
||||
return h("td", null,
|
||||
h("div", { class: "diff-content", tabindex: "0", role: "group", "aria-label": side === "before" ? "Before content" : "After content" },
|
||||
h("div", { class: "diff-content", role: "group", "aria-label": side === "before" ? "Before content" : "After content" },
|
||||
parts.length ? parts.map((field) => diffValue(field[side], field.kind, side, labels.get(field.path) ?? field.path)) : show(undefined)));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user