web/elements: center header if no description is shown

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-04-13 17:46:03 +02:00
parent 55bb9b6643
commit 8b66fa55a6
1 changed files with 3 additions and 0 deletions

View File

@ -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;