diff --git a/forms/common-themes/src/main/resources/theme/base/admin/resources/templates/kc-menu.html b/forms/common-themes/src/main/resources/theme/base/admin/resources/templates/kc-menu.html
index 53331df..985b86c 100755
--- a/forms/common-themes/src/main/resources/theme/base/admin/resources/templates/kc-menu.html
+++ b/forms/common-themes/src/main/resources/theme/base/admin/resources/templates/kc-menu.html
@@ -7,12 +7,17 @@
Social Realm
<i class="fa fa-angle-down"></i>
</h2>
- <div class="realm-dropmenu">
+ <div class="realm-dropmenu">
+ <!-- if it has more than 5 it generates a scroll bar -->
<ul>
<li><a href="#">Name of the Realm</a></li>
<li><a href="#">Name of the Realm</a></li>
<li><a href="#">Name of the Realm</a></li>
<li><a href="#">Name of the Realm</a></li>
+ <li><a href="#">Name of the Realm</a></li>
+ <li><a href="#">Name of the Realm</a></li>
+ <li><a href="#">Name of the Realm</a></li>
+ <li><a href="#">Name of the Realm</a></li>
</ul>
<div class="realm-add">
<a href="#" class="btn btn-sm btn-block btn-primary">Add Realm</a>
diff --git a/forms/common-themes/src/main/resources/theme/keycloak/admin/resources/css/styles.css b/forms/common-themes/src/main/resources/theme/keycloak/admin/resources/css/styles.css
index d9304df..7b84c46 100644
--- a/forms/common-themes/src/main/resources/theme/keycloak/admin/resources/css/styles.css
+++ b/forms/common-themes/src/main/resources/theme/keycloak/admin/resources/css/styles.css
@@ -247,6 +247,8 @@ table {
padding-left: 0;
margin: 0;
list-style: none;
+ max-height: 200px;
+ overflow-y:auto;
}
@@ -254,7 +256,7 @@ table {
line-height: 60px;
padding: 0 20px;
border-bottom: 1px solid #d5d5d6;
- line-height: 40px;
+ line-height: 39px;
display: block;
font-size: 14px;
}