small improvements

This commit is contained in:
Fabian Jeglinski
2019-05-10 17:58:35 +02:00
parent 4ae9653e66
commit 5c54e0568f
3 changed files with 9 additions and 2 deletions
@@ -3,7 +3,6 @@
<div class="color-preview" [ngStyle]="previewStyle"></div>
<span *ngIf="isDefaultColor">(default color)</span>
<div class="controls">
<!-- [(colorPicker)]="selectedColor"-->
<i class="material-icons"
colorPicker
cpAlphaChannel="disabled"
@@ -12,6 +11,6 @@
[cpCancelButton]="true"
(colorPickerSelect)="selectedColor = $event"
>edit</i>
<i class="material-icons" (click)="resetColor()">delete</i>
<i *ngIf="!isDefaultColor" class="material-icons" (click)="resetColor()">delete</i>
</div>
</div>
@@ -25,4 +25,8 @@
<!--</div>-->
<lm-custom-color-entry [colors]="curCustomDefaultColor"
(colorChanged)="defaultColorChanged($event)"></lm-custom-color-entry>
<div class="button-container">
<button>Abbrechen</button>
<button>Speichern</button>
</div>
</div>
@@ -15,3 +15,7 @@
.header{
background-color: whitesmoke;
}
.button-container{
margin-top: 3rem;
}