mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
Upgrade to latest ADF beta & UI fixes (#1082)
* [ACA-2359] upgrade ADF to 3.2.0-beta7 version * [ACA-2359] revert temporary fix because no more nested 'adf-datatable-cell' items coming from ADF * [ACA-2359] remove no more needed styles related to [ADF-4401] issue * [ACA-2359] clean-up unneeded styles - coming from new ADF version * [ACA-2363] fix issue with text being visible underneath the info drawer * [ACA-2359] fix ellipsis on locked_by text * [ACA-2359] increase item select area * [ACA-2331] fix destination picker custom source title * [ACA-2331] fix destination picker column display * min-width for adf-no-grow-cell
This commit is contained in:
committed by
Denys Vuika
parent
5788d1e7c4
commit
3f5e8815c3
@@ -100,8 +100,7 @@ export class ContextActionsDirective implements OnInit, OnDestroy {
|
||||
}
|
||||
|
||||
private getTarget(event: MouseEvent): Element {
|
||||
// change back to 'adf-datatable-cell' once the [ADF-4401] issue is fixed
|
||||
return this.findAncestor(<Element>event.target, 'adf-datatable-cell--');
|
||||
return this.findAncestor(<Element>event.target, 'adf-datatable-cell');
|
||||
}
|
||||
|
||||
private isSelected(target: Element): boolean {
|
||||
@@ -114,15 +113,12 @@ export class ContextActionsDirective implements OnInit, OnDestroy {
|
||||
);
|
||||
}
|
||||
|
||||
private findAncestor(el: Element, classNameString: string): Element {
|
||||
if (el.classList.value.includes(classNameString)) {
|
||||
private findAncestor(el: Element, className: string): Element {
|
||||
if (el.classList.contains(className)) {
|
||||
return el;
|
||||
}
|
||||
// tslint:disable-next-line:curly
|
||||
while (
|
||||
(el = el.parentElement) &&
|
||||
!el.classList.value.includes(classNameString)
|
||||
);
|
||||
while ((el = el.parentElement) && !el.classList.contains(className));
|
||||
return el;
|
||||
}
|
||||
}
|
||||
|
@@ -1,15 +1,19 @@
|
||||
.aca-name-column-container {
|
||||
aca-locked-by {
|
||||
position: absolute;
|
||||
top: 17px;
|
||||
left: 7px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: rgba(0, 0, 0, 0.54);
|
||||
max-width: 100%;
|
||||
padding: 0 10px;
|
||||
|
||||
.locked_by--name {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.aca-custom-name-column {
|
||||
display: flex;
|
||||
display: block;
|
||||
align-items: center;
|
||||
}
|
||||
|
Reference in New Issue
Block a user