Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

style: fix gap and margin top values #44

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div *ngIf="filteredAssets$ | async as assets" id="wrapper">
<div>
<div class="container">
<mat-form-field appearance="fill" appearance="outline" class="search-form-field" color="accent">
<mat-label>Search assets</mat-label>
<input (input)="onSearch()" [(ngModel)]="searchText" matInput>
Expand All @@ -12,7 +12,7 @@
<mat-paginator [length]="assets.length" hidePageSize="true" pageSize="contractDefinitions.length">
</mat-paginator>

<button (click)="onCreate()" color="accent" id="create-button" mat-stroked-button>
<button (click)="onCreate()" color="accent" mat-stroked-button>
<mat-icon>add_circle_outline</mat-icon>
Create asset
</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
.search-form-field {
min-width: 200px;
width: 30%;
margin-top: 18px;
}

.card-actions {
Expand All @@ -30,6 +31,8 @@ mat-paginator {
background-color: transparent;
}

#create-button {
margin-left: 10px;
.container {
display: flex;
align-items: center;
gap: 10px; /* Adjust the gap between elements */
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div *ngIf="filteredContractOffers$ | async as filteredContractOffers" id="wrapper">
<div>
<div class="container">
<mat-form-field class="search-form-field" color="accent">
<mat-label>Search catalog</mat-label>
<input (input)="onSearch()" [(ngModel)]="searchText" matInput>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
.search-form-field {
min-width: 200px;
width: 30%;
margin-top: 18px;
}

.card-actions {
Expand All @@ -35,3 +36,9 @@ mat-paginator {
display: inline-block;
background-color: transparent;
}

.container {
display: flex;
align-items: center;
gap: 10px;
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div *ngIf="filteredContractDefinitions$ | async as contractDefinitions" id="wrapper">
<div>
<div class="container">
<mat-form-field appearance="outline" class="search-form-field" color="accent">
<mat-label>Search definitions</mat-label>
<input (input)="onSearch()" [(ngModel)]="searchText" matInput>
Expand All @@ -12,7 +12,7 @@
<mat-paginator [length]="contractDefinitions.length" hidePageSize="true" pageSize="contractDefinitions.length">
</mat-paginator>

<button (click)="onCreate()" color="accent" id="create-button" mat-stroked-button>
<button (click)="onCreate()" color="accent" mat-stroked-button>
<mat-icon>add_circle_outline</mat-icon>
Create contract definition
</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
.search-form-field {
min-width: 200px;
width: 30%;
margin-top: 18px;
}

.card-actions {
Expand All @@ -34,6 +35,8 @@ mat-paginator {
background-color: transparent;
}

#create-button {
margin-left: 10px;
}
.container {
display: flex;
align-items: center;
gap: 10px;
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div id="wrapper" *ngIf="filteredPolicies$ | async as policyDefinitions">
<!-- entry fields for new policy-->
<div>
<div class="container">
<mat-form-field appearance="outline" class="search-form-field" color="accent">
<mat-label>Search policies</mat-label>
<input (input)="onSearch()" [(ngModel)]="searchText" matInput>
Expand All @@ -12,7 +12,7 @@

<mat-paginator [length]="policyDefinitions?.length" hidePageSize="true" pageSize="10"></mat-paginator>

<button (click)="onCreate()" color="accent" id="create-button" mat-stroked-button>
<button (click)="onCreate()" color="accent" mat-stroked-button>
<mat-icon>add_circle_outline</mat-icon>
Create policy
</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@
width: 50%;
}

#create-button {
margin-left: 10px;
}

mat-paginator {
display: inline-block;
background-color: transparent;
Expand All @@ -23,4 +19,11 @@ mat-paginator {
.search-form-field {
min-width: 200px;
width: 30%;
margin-top: 18px;
}

.container {
display: flex;
align-items: center;
gap: 10px;
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@
</mat-card>

<div *ngIf="transferProcesses$ | async as transferProcesses">
<div class="table-header-container">
<button mat-stroked-button (click)="loadTransferProcesses()" color="accent">
<mat-icon>cached</mat-icon>
Refresh
</button>
<mat-paginator [length]="transferProcesses.length" pageSize="transferProcesses.length" hidePageSize="true"></mat-paginator>

</div>

<table mat-table [dataSource]="transferProcesses" class="transfer-history-table">

<ng-container matColumnDef="id">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,9 @@ mat-paginator {
margin-right: 5px;
}

.table-header-container{
gap: 10px;
display: flex;
align-items: center;
}

Loading