align icons if the are in a umb-table
This commit is contained in:
@@ -241,3 +241,7 @@ table th[class*="span"],
|
|||||||
background-color: darken(@infoBackground, 5%);
|
background-color: darken(@infoBackground, 5%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.table .icon {
|
||||||
|
vertical-align: bottom;
|
||||||
|
}
|
||||||
|
|||||||
@@ -155,6 +155,7 @@ input.umb-table__input {
|
|||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
color: @ui-option-type;
|
color: @ui-option-type;
|
||||||
|
vertical-align: bottom;
|
||||||
}
|
}
|
||||||
|
|
||||||
.umb-table-body__checkicon,
|
.umb-table-body__checkicon,
|
||||||
|
|||||||
@@ -51,7 +51,7 @@
|
|||||||
<tbody>
|
<tbody>
|
||||||
<tr ng-repeat="relation in vm.references.documentTypes">
|
<tr ng-repeat="relation in vm.references.documentTypes">
|
||||||
<td><span title="{{::relation.name}}({{::relation.alias}})"><i class="umb-table-body__icon {{relation.icon}}"></i>{{::relation.name}}</span></td>
|
<td><span title="{{::relation.name}}({{::relation.alias}})"><i class="umb-table-body__icon {{relation.icon}}"></i>{{::relation.name}}</span></td>
|
||||||
<td><p><span class="red" ng-repeat="property in relation.properties"><i class="icon-alert red"></i>{{::property.name}}{{$last ? '' : ', '}}</span></p></td>
|
<td><span><span class="red" ng-repeat="property in relation.properties"><i class="icon icon-alert red"></i>{{::property.name}}{{$last ? '' : ', '}}</span></span></td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
@@ -75,7 +75,7 @@
|
|||||||
<tbody>
|
<tbody>
|
||||||
<tr ng-repeat="relation in vm.references.mediaTypes">
|
<tr ng-repeat="relation in vm.references.mediaTypes">
|
||||||
<td><span title="{{::relation.name}}({{::relation.alias}})"><i class="umb-table-body__icon {{relation.icon}}"></i>{{::relation.name}}</span></td>
|
<td><span title="{{::relation.name}}({{::relation.alias}})"><i class="umb-table-body__icon {{relation.icon}}"></i>{{::relation.name}}</span></td>
|
||||||
<td><p><span class="red" ng-repeat="property in relation.properties"><i class="icon-alert red"></i>{{::property.name}}{{$last ? '' : ', '}}</span></p></td>
|
<td><span><span class="red" ng-repeat="property in relation.properties"><i class="icon icon-alert red"></i>{{::property.name}}{{$last ? '' : ', '}}</span></span></td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
@@ -99,7 +99,7 @@
|
|||||||
<tbody>
|
<tbody>
|
||||||
<tr ng-repeat="relation in vm.references.memberTypes">
|
<tr ng-repeat="relation in vm.references.memberTypes">
|
||||||
<td><span title="{{::relation.name}}({{::relation.alias}})"><i class="umb-table-body__icon {{relation.icon}}"></i>{{::relation.name}}</span></td>
|
<td><span title="{{::relation.name}}({{::relation.alias}})"><i class="umb-table-body__icon {{relation.icon}}"></i>{{::relation.name}}</span></td>
|
||||||
<td><p><span class="red" ng-repeat="property in relation.properties"><i class="icon-alert red"></i>{{::property.name}}{{$last ? '' : ', '}}</span></p></td>
|
<td><span><span class="red" ng-repeat="property in relation.properties"><i class="icon icon-alert red"></i>{{::property.name}}{{$last ? '' : ', '}}</span></span></td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
Reference in New Issue
Block a user