changed the size of the welcome logo (#32493)

* changed the size of the welcome logo

fixes: #32492
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* moved to stylesheet

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

---------

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
This commit is contained in:
Erik Jan de Wit 2024-09-03 20:03:57 +02:00 committed by GitHub
parent a1c23fef8c
commit 838e13e161
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 10 additions and 1 deletions

View file

@ -22,7 +22,9 @@
<div class="pf-v5-c-login"> <div class="pf-v5-c-login">
<div class="pf-v5-c-login__container"> <div class="pf-v5-c-login__container">
<header class="pf-v5-c-login__header"> <header class="pf-v5-c-login__header">
<img class="pf-v5-c-brand" src="${resourcesPath}/logo.svg" alt="${productName} Logo"> <div class="pf-v5-c-brand">
<img src="${resourcesPath}/logo.svg" alt="${productName} Logo" class="kc-brand">
</div>
</header> </header>
<#if adminConsoleEnabled && (bootstrap || successMessage?has_content)> <#if adminConsoleEnabled && (bootstrap || successMessage?has_content)>
<main class="pf-v5-c-login__main"> <main class="pf-v5-c-login__main">

View file

@ -8,3 +8,10 @@
grid-template-areas: "header" "main"; grid-template-areas: "header" "main";
--pf-v5-c-login__container--xl--GridTemplateColumns: minmax(auto, 34rem); --pf-v5-c-login__container--xl--GridTemplateColumns: minmax(auto, 34rem);
} }
.kc-brand {
height: 63px;
width: 300px;
display: block;
margin: 0 auto;
}