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,11 +85,12 @@ export const appRoutes: Routes = [
|
||||
{
|
||||
path: 'breadcrumb',
|
||||
canActivate: [AuthGuardEcm],
|
||||
component: AppLayoutComponent,
|
||||
loadChildren: 'app/components/breadcrumb-demo/breadcrumb-demo.module#AppBreadcrumbModule'
|
||||
},
|
||||
{
|
||||
path: 'notifications',
|
||||
component: AppLayoutComponent ,
|
||||
component: AppLayoutComponent,
|
||||
children: [
|
||||
{
|
||||
path: '',
|
||||
@@ -99,7 +100,7 @@ export const appRoutes: Routes = [
|
||||
},
|
||||
{
|
||||
path: 'config-editor',
|
||||
component: AppLayoutComponent ,
|
||||
component: AppLayoutComponent,
|
||||
children: [
|
||||
{
|
||||
path: '',
|
||||
@@ -109,7 +110,7 @@ export const appRoutes: Routes = [
|
||||
},
|
||||
{
|
||||
path: 'card-view',
|
||||
component: AppLayoutComponent ,
|
||||
component: AppLayoutComponent,
|
||||
children: [
|
||||
{
|
||||
path: '',
|
||||
|
@@ -46,6 +46,7 @@
|
||||
text-overflow: ellipsis;
|
||||
display: inline-block;
|
||||
width: 75%;
|
||||
line-height: 27px;
|
||||
}
|
||||
|
||||
&-current-folder.adf-isRoot {
|
||||
|
@@ -4,7 +4,7 @@
|
||||
[class.adf-data-table-card]="display === 'gallery'"
|
||||
[class.adf-data-table]="display === 'list'"
|
||||
[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">
|
||||
<!-- Actions (left) -->
|
||||
<div *ngIf="actions && actionsPosition === 'left'" class="adf-actions-column adf-datatable-table-cell-header">
|
||||
|
@@ -497,6 +497,7 @@
|
||||
@include flex-column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: inherit;
|
||||
|
||||
.adf-datatable-body {
|
||||
.adf-datatable-row {
|
||||
|
@@ -641,7 +641,7 @@ export class DataTableComponent implements AfterContentInit, OnChanges, DoCheck,
|
||||
}
|
||||
|
||||
isHeaderVisible() {
|
||||
return this.showHeader && !this.loading && !this.isEmpty() && !this.noPermission;
|
||||
return !this.loading && !this.isEmpty() && !this.noPermission;
|
||||
}
|
||||
|
||||
private emitRowSelectionEvent(name: string, row: DataRow) {
|
||||
|
Reference in New Issue
Block a user