Skip to content

Commit 82af4f5

Browse files
author
Ivo Raisr
committed
Plugin: Keycloak: Align properly the Keycloak login button
1 parent 3650e44 commit 82af4f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main/inc/lib/template.lib.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1308,8 +1308,8 @@ public static function displayLoginForm()
13081308
$plugin = null;
13091309
if ($pluginKeycloak) {
13101310
$pluginUrl = api_get_path(WEB_PLUGIN_PATH).'keycloak/start.php?sso';
1311-
$pluginUrl = Display::url('Keycloak', $pluginUrl, ['class' => 'btn btn-primary']);
1312-
$html .= '<div>'.$pluginUrl.'</div>';
1311+
$pluginUrl = Display::url('Keycloak', $pluginUrl, ['class' => 'btn btn-block btn-primary']);
1312+
$html .= '<div style="margin-top: 10px">'.$pluginUrl.'</div>';
13131313
}
13141314

13151315
$html .= '<div></div>';

0 commit comments

Comments
 (0)