mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-4017] Fix several styling bugs (#4268)
This commit is contained in:
committed by
Eugenio Romano
parent
b35a7a21a8
commit
4703bbba2f
@@ -85,6 +85,7 @@ export const appRoutes: Routes = [
|
|||||||
{
|
{
|
||||||
path: 'breadcrumb',
|
path: 'breadcrumb',
|
||||||
canActivate: [AuthGuardEcm],
|
canActivate: [AuthGuardEcm],
|
||||||
|
component: AppLayoutComponent,
|
||||||
loadChildren: 'app/components/breadcrumb-demo/breadcrumb-demo.module#AppBreadcrumbModule'
|
loadChildren: 'app/components/breadcrumb-demo/breadcrumb-demo.module#AppBreadcrumbModule'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@@ -46,6 +46,7 @@
|
|||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 75%;
|
width: 75%;
|
||||||
|
line-height: 27px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&-current-folder.adf-isRoot {
|
&-current-folder.adf-isRoot {
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
[class.adf-data-table-card]="display === 'gallery'"
|
[class.adf-data-table-card]="display === 'gallery'"
|
||||||
[class.adf-data-table]="display === 'list'"
|
[class.adf-data-table]="display === 'list'"
|
||||||
[class.adf-data-table--empty]="!isHeaderVisible()">
|
[class.adf-data-table--empty]="!isHeaderVisible()">
|
||||||
<div *ngIf="isHeaderVisible()" class="adf-datatable-header" role="rowgroup">
|
<div *ngIf="showHeader && isHeaderVisible()" class="adf-datatable-header" role="rowgroup">
|
||||||
<div class="adf-datatable-row" *ngIf="display === 'list'" role="row">
|
<div class="adf-datatable-row" *ngIf="display === 'list'" role="row">
|
||||||
<!-- Actions (left) -->
|
<!-- Actions (left) -->
|
||||||
<div *ngIf="actions && actionsPosition === 'left'" class="adf-actions-column adf-datatable-table-cell-header">
|
<div *ngIf="actions && actionsPosition === 'left'" class="adf-actions-column adf-datatable-table-cell-header">
|
||||||
|
@@ -497,6 +497,7 @@
|
|||||||
@include flex-column;
|
@include flex-column;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
height: inherit;
|
||||||
|
|
||||||
.adf-datatable-body {
|
.adf-datatable-body {
|
||||||
.adf-datatable-row {
|
.adf-datatable-row {
|
||||||
|
@@ -641,7 +641,7 @@ export class DataTableComponent implements AfterContentInit, OnChanges, DoCheck,
|
|||||||
}
|
}
|
||||||
|
|
||||||
isHeaderVisible() {
|
isHeaderVisible() {
|
||||||
return this.showHeader && !this.loading && !this.isEmpty() && !this.noPermission;
|
return !this.loading && !this.isEmpty() && !this.noPermission;
|
||||||
}
|
}
|
||||||
|
|
||||||
private emitRowSelectionEvent(name: string, row: DataRow) {
|
private emitRowSelectionEvent(name: string, row: DataRow) {
|
||||||
|
Reference in New Issue
Block a user