From 8b66fa55a6208ced79764277f16cad846a61eb48 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Tue, 13 Apr 2021 17:46:03 +0200 Subject: [PATCH] web/elements: center header if no description is shown Signed-off-by: Jens Langhammer --- web/src/elements/PageHeader.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web/src/elements/PageHeader.ts b/web/src/elements/PageHeader.ts index d207e23d8..87cc379b6 100644 --- a/web/src/elements/PageHeader.ts +++ b/web/src/elements/PageHeader.ts @@ -47,6 +47,9 @@ export class PageHeader extends LitElement { } .pf-c-page__main-section { width: 100%; + display: flex; + flex-direction: column; + justify-content: center; } img.pf-icon { max-height: 24px;