keycloak-memoizeit

Details

diff --git a/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/password-policy.html b/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/password-policy.html
index 54bace8..8e0d396 100755
--- a/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/password-policy.html
+++ b/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/password-policy.html
@@ -23,7 +23,7 @@
             <tr>
                 <th>Policy Type</th>
                 <th>Policy Value</th>
-                <th class="actions">Actions</th>
+                <th>Actions</th>
             </tr>
             </thead>
             <tbody>
@@ -33,8 +33,8 @@
                     <input class="form-control" ng-model="p.value" ng-show="p.name != 'notUsername' "
                            placeholder="No value assigned" min="1" required>
                 </td>
-                <td class="actions">
-                    <div class="action-div"><i class="pficon pficon-delete" ng-click="removePolicy($index)" tooltip-placement="right" tooltip="Remove Policy"></i></div>
+                <td class="kc-action-cell">
+                    <button class="btn btn-default btn-block btn-sm" ng-click="removePolicy($index)">Delete</button>
                 </td>
             </tr>
             </tbody>
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 033f6e0..83f0929 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
@@ -299,3 +299,17 @@ h1 i {
     margin-left: 10px;
 }
 
+/* Action cell */
+.kc-action-cell {
+    position: relative;
+    width: 100px;
+}
+
+.kc-action-cell .btn {
+    border: none;
+    position: absolute;
+    top: 0;
+    left: 0;
+    right: 0;
+    bottom: 0;
+}
\ No newline at end of file