From e7fcfb7e67d5df3e8a8a5da170f18fa4c6b98731 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 19 Apr 2026 19:27:48 +0200 Subject: [PATCH] minor unrelated fix: alignment in table desc Signed-off-by: Jens Langhammer --- web/src/admin/flows/BoundStagesList.ts | 6 +++++- web/src/admin/policies/BoundPoliciesList.ts | 13 +++++++++---- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/web/src/admin/flows/BoundStagesList.ts b/web/src/admin/flows/BoundStagesList.ts index dc131f2c57..a2b9c3a4d0 100644 --- a/web/src/admin/flows/BoundStagesList.ts +++ b/web/src/admin/flows/BoundStagesList.ts @@ -127,11 +127,15 @@ export class BoundStagesList extends Table { protected override renderExpanded(item: FlowStageBinding): TemplateResult { return html`
-

${msg("These bindings control if this stage will be applied to the flow.")}

+ ${msg( + "These bindings control if this stage will be applied to the flow.", + )}
`; } diff --git a/web/src/admin/policies/BoundPoliciesList.ts b/web/src/admin/policies/BoundPoliciesList.ts index 80898b888e..eca5a7fa6d 100644 --- a/web/src/admin/policies/BoundPoliciesList.ts +++ b/web/src/admin/policies/BoundPoliciesList.ts @@ -242,10 +242,15 @@ export class BoundPoliciesList extends if (policyEngineMode === undefined) { return nothing; } - return html`

- ${msg(str`The currently selected policy engine mode is ${policyEngineMode.label}:`)} - ${policyEngineMode.description} -

`; + return html`${this.findSlotted("description") + ? html`

+ +

` + : nothing} +

+ ${msg(str`The currently selected policy engine mode is ${policyEngineMode.label}:`)} + ${policyEngineMode.description} +

`; } renderToolbarContainer(): SlottedTemplateResult {