[ADF-4401] Fix DL issues because of nested 'adf-datatable-cell' items (#4615)

* [ADF-4401] remove classname from nested items - use 'adf-content-cell' instead

* [ADF-4401] some DL display fixes

- align header cells with content cells
- columns aligned on Trashcan DL
- ellipsis on long folder names inside the content node selector
- more width on highlight cell from search-results

* [ADF-4401] use 'adf-content-cell'

- to allow ellipsis to display when a parent has 'adf-ellipsis-cell' class

* [ADF-4401] remove not used styles

* [ADF-4401] rename scss classname to have 'adf-datatable' prefix

* [ADF-4401] Add documentation for datatable
This commit is contained in:
Suzana Dirla
2019-04-18 18:07:31 +03:00
committed by Eugenio Romano
parent cc53d96698
commit 59eee6ebaf
15 changed files with 72 additions and 34 deletions

View File

@@ -39,7 +39,7 @@ import { BehaviorSubject, Subscription } from 'rxjs';
changeDetection: ChangeDetectionStrategy.OnPush,
encapsulation: ViewEncapsulation.None,
host: {
class: 'adf-datatable-cell adf-datatable-link adf-library-name-column'
class: 'adf-datatable-content-cell adf-datatable-link adf-library-name-column'
}
})
export class LibraryNameColumnComponent implements OnInit, OnDestroy {

View File

@@ -37,7 +37,7 @@ import { ShareDataRow } from '../../data/share-data-row.model';
`,
changeDetection: ChangeDetectionStrategy.OnPush,
encapsulation: ViewEncapsulation.None,
host: { class: 'adf-library-role-column' }
host: { class: 'adf-library-role-column adf-datatable-content-cell' }
})
export class LibraryRoleColumnComponent implements OnInit, OnDestroy {
@Input()

View File

@@ -28,7 +28,7 @@ import { ShareDataRow } from '../../data/share-data-row.model';
{{ (displayText$ | async) | translate }}
</span>
`,
host: { class: 'adf-library-status-column' }
host: { class: 'adf-library-status-column adf-datatable-content-cell' }
})
export class LibraryStatusColumnComponent implements OnInit, OnDestroy {
@Input()

View File

@@ -39,7 +39,7 @@ import { ShareDataRow } from '../../data/share-data-row.model';
`,
changeDetection: ChangeDetectionStrategy.OnPush,
encapsulation: ViewEncapsulation.None,
host: { class: 'adf-datatable-cell adf-datatable-link adf-name-column' }
host: { class: 'adf-datatable-content-cell adf-datatable-link adf-name-column' }
})
export class NameColumnComponent implements OnInit, OnDestroy {
@Input()

View File

@@ -37,7 +37,7 @@ import { ShareDataRow } from '../../data/share-data-row.model';
`,
changeDetection: ChangeDetectionStrategy.OnPush,
encapsulation: ViewEncapsulation.None,
host: { class: 'adf-datatable-cell adf-trashcan-name-column' }
host: { class: 'adf-datatable-content-cell adf-trashcan-name-column' }
})
export class TrashcanNameColumnComponent implements OnInit {
@Input()