web/admin: fix alignment in tables with multiple elements in cell

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2022-12-21 20:06:27 +01:00
parent 3b61c6f9b9
commit 1564b898db
9 changed files with 23 additions and 33 deletions

View File

@ -92,13 +92,11 @@ export class FlowListPage extends TablePage<Flow> {
row(item: Flow): TemplateResult[] {
return [
html`<div>
<div>
<a href="#/flow/flows/${item.slug}">
<code>${item.slug}</code>
</a>
</div>
<small>${item.title}</small>
</div>`,
<small>${item.title}</small>`,
html`${item.name}`,
html`${Array.from(item.stages || []).length}`,
html`${Array.from(item.policies || []).length}`,