Skip to content
This repository has been archived by the owner on Jan 24, 2023. It is now read-only.

Commit

Permalink
Fix alignment of no content mesasges on home page view (#4809)
Browse files Browse the repository at this point in the history
  • Loading branch information
nwmac committed Nov 27, 2020
1 parent 3e3aa7c commit d99a2ef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ <h1>Home</h1>
</div>
</div>
<ng-template #noEndpoints>
<div *ngIf="haveRegistered$ | async; else noneRegistered">
<div class="home-page" *ngIf="haveRegistered$ | async; else noneRegistered">
<app-no-content-message [icon]="'settings_ethernet'" firstLine="There are no connected endpoints"
[secondLine]="{text: 'Use the Endpoints view to connect'}"></app-no-content-message>
</div>
</ng-template>

<ng-template #noneRegistered>
<app-endpoints-missing [showToolbarHint]="false"></app-endpoints-missing>
<app-endpoints-missing class="home-page" [showToolbarHint]="false"></app-endpoints-missing>
</ng-template>
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
:host {
display: flex;
height: 100%;
width: 100%;
}

.home-page {
Expand Down

0 comments on commit d99a2ef

Please sign in to comment.