Set row indentation based on depth

This commit is contained in:
2025-01-08 13:55:40 +01:00
parent 0d8e7c6c0e
commit fa7918f0e3
2 changed files with 6 additions and 3 deletions

View File

@@ -379,7 +379,8 @@ table.items td {
}
/* For <a> to fill <td> completely, we use an ::after pseudoelement. */
table.items td.link {
padding: 0 0 0 1em;
padding: 0;
padding-inline-start: calc(1em + var(--depth) * 0.8em);
position: relative;
}
table.items td.link a {