Fixes RTL on keycloak.v2 login template (#33644)

Closes #33642

Signed-off-by: Jon Haynes <senyahnoj@gmail.com>
Co-authored-by: Jon Haynes <senyahnoj@gmail.com>
This commit is contained in:
Jon Haynes 2024-10-08 08:50:23 +01:00 committed by GitHub
parent 26255f47f8
commit 8719e2d0d7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -22,7 +22,7 @@
<#macro registrationLayout bodyClass="" displayInfo=false displayMessage=true displayRequiredFields=false> <#macro registrationLayout bodyClass="" displayInfo=false displayMessage=true displayRequiredFields=false>
<!DOCTYPE html> <!DOCTYPE html>
<html class="${properties.kcHtmlClass!}"<#if realm.internationalizationEnabled> lang="${locale.currentLanguageTag}"</#if>> <html class="${properties.kcHtmlClass!}"<#if realm.internationalizationEnabled> lang="${locale.currentLanguageTag}" dir="${(locale.rtl)?then('rtl','ltr')}"</#if>>
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">