diff --git a/projects/editor/src/app/components/unit-view/page-view/properties/properties.component.html b/projects/editor/src/app/components/unit-view/page-view/properties/properties.component.html index d55c3ff8ca39fe9dc353e7c04f797171d2fcbfb8..b34809daf81cd293f463a4ea9961b495fd053525 100644 --- a/projects/editor/src/app/components/unit-view/page-view/properties/properties.component.html +++ b/projects/editor/src/app/components/unit-view/page-view/properties/properties.component.html @@ -69,10 +69,10 @@ </div> </mat-form-field> </div> - <button mat-raised-button (click)="deleteElement()"> + <button class="delete-element-button" mat-raised-button (click)="deleteElement()"> Element löschen </button> - <button mat-raised-button> + <button mat-raised-button class="duplicate-element-button"> Element duplizieren </button> </mat-tab> diff --git a/projects/editor/src/app/components/unit-view/page-view/properties/properties.component.ts b/projects/editor/src/app/components/unit-view/page-view/properties/properties.component.ts index c1849dd830f7a8b70a14fbf6b9e4123bac0f4969..1722b9bc86c0a1ab737b9cc0666231729e365f55 100644 --- a/projects/editor/src/app/components/unit-view/page-view/properties/properties.component.ts +++ b/projects/editor/src/app/components/unit-view/page-view/properties/properties.component.ts @@ -11,7 +11,9 @@ import { UnitUIElement } from '../../../../../../../common/unit'; ':host ::ng-deep .mat-tab-label {min-width: 0}', '.newOptionElement {margin-top: 20px}', '.newOptionElement button {background-color: #696969; margin: 5px}', - 'mat-tab-group {padding: 10px;}' + 'mat-tab-group {padding: 10px;}', + '.delete-element-button {margin-bottom: 5px; border: 1px solid red;}', + '.duplicate-element-button {margin-bottom: 5px}' ] }) export class PropertiesComponent {