mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-08-07 17:48:54 +00:00
#955 Horizontal scrollbar for dynamic table
This commit is contained in:
@@ -8,6 +8,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.dynamic-table-widget__table {
|
.dynamic-table-widget__table {
|
||||||
|
overflow-y: auto;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dynamic-table-widget__table > table {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -2,7 +2,8 @@
|
|||||||
<div>{{content.name}}</div>
|
<div>{{content.name}}</div>
|
||||||
|
|
||||||
<div *ngIf="!editMode">
|
<div *ngIf="!editMode">
|
||||||
<table class="mdl-data-table mdl-js-data-table dynamic-table-widget__table">
|
<div class="dynamic-table-widget__table">
|
||||||
|
<table class="mdl-data-table mdl-js-data-table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th *ngFor="let column of content.visibleColumns"
|
<th *ngFor="let column of content.visibleColumns"
|
||||||
@@ -22,6 +23,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<button class="mdl-button mdl-js-button mdl-button--icon"
|
<button class="mdl-button mdl-js-button mdl-button--icon"
|
||||||
|
Reference in New Issue
Block a user