Compare commits

..

2 commits

Author SHA1 Message Date
Nikhil Nawgiri 4f1b8d053a Remove unsupported css property 'speak' 2024-04-27 18:37:52 +02:00
Nikhil Nawgiri 2c624712cc Add wrapper and apply ps-background 2024-04-27 18:37:39 +02:00
2 changed files with 131 additions and 129 deletions

View file

@ -6,6 +6,7 @@ import { usePrepareTemplate } from "keycloakify/lib/usePrepareTemplate";
import { type TemplateProps } from "keycloakify/login/TemplateProps";
import type { KcContext } from "./kcContext";
import type { I18n } from "./i18n";
import "../resources/styles/scss/background.scss";
export default function Template(props: TemplateProps<KcContext, I18n>) {
const {
@ -46,8 +47,10 @@ export default function Template(props: TemplateProps<KcContext, I18n>) {
return null;
}
return (<>
return (
<div className="ps-background">
<header className="ps-header">
lorem ipsum - 27.04.2024
{realm.internationalizationEnabled && (assert(locale !== undefined), true) && locale.supported.length > 1 && (
<div id="kc-locale">
<div id="kc-locale-wrapper" className="ps-locale-dropdown">
@ -173,6 +176,6 @@ export default function Template(props: TemplateProps<KcContext, I18n>) {
)}
</div>
</div>
</>
</div>
);
}

View file

@ -3,7 +3,6 @@
flex-wrap: wrap;
align-items: flex-start;
justify-content: space-between;
speak: none;
&--logo {
width: 100px;