Skip to content
Snippets Groups Projects
Commit db328cbc authored by Tifenn Guillas's avatar Tifenn Guillas
Browse files

Fix table height => DONE

parent 534930be
No related branches found
No related tags found
2 merge requests!169Develop,!150Resolve "[Documentation] Shorten and order output list"
......@@ -13,7 +13,9 @@ table, th, td {
margin-bottom: 1em;
}
.box {
max-height: 500px;
overflow-y: auto;
}
\ No newline at end of file
.attributes-table {
display: inline-block;
max-height : 500px;
overflow-y : auto;
overflow-x: hidden;
}
......@@ -50,18 +50,18 @@
<span class="sr-only">Loading...</span>
</div>
<div *ngIf="attributeListsIsLoaded | async" class="row">
<div *ngFor="let dataset of datasetList | async" class="col-4 mb-5 box">
<div *ngFor="let dataset of datasetList | async" class="col-auto mb-5">
<h6>{{ dataset.label }} output list</h6>
<table id="table">
<tr>
<th>id</th>
<th>attribute</th>
</tr>
<tr *ngFor="let attribute of getAttributeList(dataset.name, attributeList | async)">
<td>{{ attribute.id }}</td>
<td>{{ attribute.name }}</td>
</tr>
</table>
<table id="table" class="attributes-table p-0">
<tr>
<th>id</th>
<th>attribute</th>
</tr>
<tr *ngFor="let attribute of getAttributeList(dataset.name, attributeList | async)">
<td>{{ attribute.id }}</td>
<td>{{ attribute.name }}</td>
</tr>
</table>
</div>
</div>
......@@ -200,4 +200,4 @@
</div>
</div>
</div>
</div>
\ No newline at end of file
</div>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment