Fix label font color

This commit is contained in:
Julius Haertl
2017-01-19 11:30:10 +01:00
parent f936afd972
commit f76f64c8b0

View File

@@ -37,12 +37,12 @@
on-remove="labelRemove($item, $model)" ng-disabled="!boardservice.canEdit() || archived"> on-remove="labelRemove($item, $model)" ng-disabled="!boardservice.canEdit() || archived">
<ui-select-match placeholder="Select labels..."><span <ui-select-match placeholder="Select labels..."><span
class="select-label" class="select-label"
style="background-color:#{{$item.color}}">{{$item.title}}&nbsp;</span> style="background-color:#{{$item.color}}; color:{{ $item.color|textColorFilter }};">{{$item.title}}&nbsp;</span>
</ui-select-match> </ui-select-match>
<ui-select-choices <ui-select-choices
repeat="label in boardservice.getCurrent().labels | filter:$select.search"> repeat="label in boardservice.getCurrent().labels | filter:$select.search">
<span <span
style="background-color:#{{label.color}}">{{label.title}}</span> style="background-color:#{{label.color}}; color:{{ label.color|textColorFilter }};">{{label.title}}</span>
</ui-select-choices> </ui-select-choices>
</ui-select> </ui-select>
</div> </div>