fix teveel klanten
This commit is contained in:
@@ -19,21 +19,22 @@
|
||||
Klant toevoegen
|
||||
</button>
|
||||
</div>
|
||||
<table class="styled-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Naam</th>
|
||||
<th>Email</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr *ngFor="let customer of customers" (click)="selectCustomer(customer)" [id]="customer.id">
|
||||
<td>{{ customer.firstName }} {{ customer.lastName }}</td>
|
||||
<td>{{ customer.email }}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div class="results">
|
||||
<table class="styled-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Naam</th>
|
||||
<th>Email</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr *ngFor="let customer of customers" (click)="selectCustomer(customer)" [id]="customer.id">
|
||||
<td>{{ customer.firstName }} {{ customer.lastName }}</td>
|
||||
<td>{{ customer.email }}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -15,6 +15,7 @@ h2 {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
overflow-y: unset;
|
||||
}
|
||||
|
||||
.styled-table {
|
||||
@@ -25,7 +26,7 @@ h2 {
|
||||
text-align: left; /* Tekst uitlijning */
|
||||
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Zachte schaduw */
|
||||
border-radius: 10px; /* Afgeronde hoeken */
|
||||
overflow: hidden; /* Hoeken correct afronden */
|
||||
overflow: scroll; /* Hoeken correct afronden */
|
||||
}
|
||||
|
||||
.styled-table thead {
|
||||
@@ -60,6 +61,7 @@ h2 {
|
||||
.toolbar {
|
||||
button {
|
||||
margin-left: 8px;
|
||||
position: sticky;
|
||||
}
|
||||
|
||||
margin-bottom: 12px;
|
||||
@@ -69,4 +71,7 @@ h2 {
|
||||
|
||||
}
|
||||
|
||||
.results{
|
||||
overflow-y: scroll;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user