KEYCLOAK-1535 Set tooltip-placement correctly

This commit is contained in:
Stian Thorgersen 2015-07-21 14:50:42 +02:00
parent b04ac6cdba
commit 0156d47d97
2 changed files with 17 additions and 3 deletions

View file

@ -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>

View file

@ -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;
}