From 7c13e157c3e50f1a6874a5348eda153e6b2be461 Mon Sep 17 00:00:00 2001 From: rhenck <richard.henck@iqb.hu-berlin.de> Date: Thu, 7 Oct 2021 17:37:36 +0200 Subject: [PATCH] [editor] Improve styling --- .../page-view/properties/element-properties.component.css | 5 +++++ .../page-view/properties/element-properties.component.html | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/projects/editor/src/app/components/unit-view/page-view/properties/element-properties.component.css b/projects/editor/src/app/components/unit-view/page-view/properties/element-properties.component.css index 68bec5000..e336ec7db 100644 --- a/projects/editor/src/app/components/unit-view/page-view/properties/element-properties.component.css +++ b/projects/editor/src/app/components/unit-view/page-view/properties/element-properties.component.css @@ -54,3 +54,8 @@ .text-text { background-color: rgba(0,0,0,.04); } + +::ng-deep app-element-properties p { + text-align: center; + font-weight: bold; +} diff --git a/projects/editor/src/app/components/unit-view/page-view/properties/element-properties.component.html b/projects/editor/src/app/components/unit-view/page-view/properties/element-properties.component.html index 8ef8bba42..52c15c332 100644 --- a/projects/editor/src/app/components/unit-view/page-view/properties/element-properties.component.html +++ b/projects/editor/src/app/components/unit-view/page-view/properties/element-properties.component.html @@ -234,5 +234,5 @@ </mat-tab-group> </ng-container> <ng-container *ngIf="selectedElements.length === 0"> - Kein Element ausgewählt + <p>Kein Element ausgewählt</p> </ng-container> -- GitLab