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> <tr>
<th>Policy Type</th> <th>Policy Type</th>
<th>Policy Value</th> <th>Policy Value</th>
<th class="actions">Actions</th> <th>Actions</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@ -33,8 +33,8 @@
<input class="form-control" ng-model="p.value" ng-show="p.name != 'notUsername' " <input class="form-control" ng-model="p.value" ng-show="p.name != 'notUsername' "
placeholder="No value assigned" min="1" required> placeholder="No value assigned" min="1" required>
</td> </td>
<td class="actions"> <td class="kc-action-cell">
<div class="action-div"><i class="pficon pficon-delete" ng-click="removePolicy($index)" tooltip-placement="right" tooltip="Remove Policy"></i></div> <button class="btn btn-default btn-block btn-sm" ng-click="removePolicy($index)">Delete</button>
</td> </td>
</tr> </tr>
</tbody> </tbody>

View file

@ -299,3 +299,17 @@ h1 i {
margin-left: 10px; 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;
}