history-write.class { display: contents; > p { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr) auto minmax(0, 2fr); align-items: center; gap: 4px; min-height: 22px; padding: 2px 6px; line-height: 18px; &[data-unnamed] { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); } > strong { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } > span { color: var(--ink-muted); } > :is(del, ins) { min-width: 0; max-width: 100%; &[data-kind="number"] { font-variant-numeric: tabular-nums; } } > del { justify-self: end; text-align: end; color: var(--ink-muted); background: var(--change-removed); } > ins { justify-self: start; text-align: start; color: var(--ink); text-decoration: none; background: var(--change-added); } } }