Skip to content

Commit

Permalink
update styles for client projects
Browse files Browse the repository at this point in the history
  • Loading branch information
Borys91 authored and GeorgDangl committed May 10, 2024
1 parent 540f8b5 commit 9ba2fd8
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@ <h3>Manage OpenCDE Servers</h3>
Save Current Server
</button>
<mat-list role="list">
<mat-list-item role="listitem" *ngFor="let server of savedServers">
<button mat-icon-button (click)="deleteServer(server)">
<div *ngFor="let server of savedServers" class="item-container">
<button mat-icon-button color="warn" (click)="deleteServer(server)">
<mat-icon>delete</mat-icon>
</button>
<button mat-raised-button (click)="selectServer(server)">
{{ server }}
</button>
</mat-list-item>
<mat-list-item role="listitem">
<button mat-raised-button color="primary" (click)="selectServer(server)">
{{ server }}
</button>
</mat-list-item>
</div>
</mat-list>
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.item-container {
display: flex;
align-items: center;
gap: 10px;
}

::ng-deep .mat-mdc-dialog-surface {
padding: 20px !important;
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<ng-container *ngIf="userInfo">
<button mat-button [matMenuTriggerFor]="menu">
<button mat-flat-button color="primary" [matMenuTriggerFor]="menu">
<span id="username-nav">
{{ userInfo.username || userInfo.email }}
</span>
Expand Down

0 comments on commit 9ba2fd8

Please sign in to comment.