Fix flickering in tables

reduces the flickering during scroll events in list view tables
Adjusts some ellipsis
This commit is contained in:
Sean Engelhardt 2019-10-09 14:59:43 +02:00
parent 4a8362deaf
commit 2d14fc2057
4 changed files with 9 additions and 13 deletions

View File

@ -15,7 +15,6 @@
<pbl-ngrid
[ngClass]="cssClasses"
[vScrollFixed]="vScrollFixed"
cellTooltip
[showHeader]="!showFilterBar"
matCheckboxSelection="selection"
[dataSource]="dataSource"

View File

@ -35,16 +35,14 @@
[routerLink]="getDetailUrl(item)"
*ngIf="!isMultiSelect"
></a>
<div [ngStyle]="{ 'margin-left': item.level * 25 + 'px' }">
<div [ngStyle]="{ 'margin-left': item.level * 25 + 'px' }" class="innerTable ellipsis-overflow">
<os-icon-container [noWrap]="true" [icon]="item.closed ? 'check' : null" size="large">
<div>
<div>
<span>
{{ item.getListTitle() }}
</div>
<div *ngIf="showSubtitle" class="subtitle">
</span>
<span *ngIf="showSubtitle" class="subtitle ">
{{ item.getSubtitle() }}
</div>
</div>
</span>
</os-icon-container>
</div>
</div>

View File

@ -82,7 +82,7 @@
</span>
<!-- The title -->
<span class="motion-list-title">
<span>
<span *ngIf="vp.isMobile && motion.identifier">
{{ motion.identifier }}
<span>&middot;</span>

View File

@ -162,9 +162,8 @@ $narrow-spacing: (
}
.pbl-ngrid-cell {
position: relative;
.fill {
position: relative;
display: inherit;
height: 100%;
width: 100%;