From 3c08bbe681c9064aedfe04fed30b1bc25bc4d949 Mon Sep 17 00:00:00 2001 From: Nestor <npegane@hotmail.com> Date: Fri, 13 Apr 2018 10:12:42 +0200 Subject: [PATCH] FEAT #287 css modified for columnn priority_default --- .../Views/priorities-administration.component.html | 4 ++-- apps/maarch_entreprise/css/engine.css | 10 ++++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/apps/maarch_entreprise/Views/priorities-administration.component.html b/apps/maarch_entreprise/Views/priorities-administration.component.html index e515a595314..d10300c97e5 100755 --- a/apps/maarch_entreprise/Views/priorities-administration.component.html +++ b/apps/maarch_entreprise/Views/priorities-administration.component.html @@ -77,14 +77,14 @@ </mat-cell> </ng-container> <ng-container matColumnDef="default_priority"> - <mat-header-cell *matHeaderCellDef mat-sort-header [class.hide-for-mobile]="mobileQuery.matches">{{lang.defaultPriority}}</mat-header-cell> + <mat-header-cell *matHeaderCellDef mat-sort-header [class.hide-for-mobile]="mobileQuery.matches" >{{lang.defaultPriority}}</mat-header-cell> <mat-cell *matCellDef="let element" [class.hide-for-mobile]="mobileQuery.matches"> <span *ngIf="element.default_priority" color="primary" class="fa fa-check fa-2x"></span> </mat-cell> </ng-container> <ng-container matColumnDef="actions"> <mat-header-cell *matHeaderCellDef></mat-header-cell> - <mat-cell *matCellDef="let element" style="text-align: right;"> + <mat-cell *matCellDef="let element" style="text-align:right;"> <button mat-icon-button color="warn" matTooltip="{{lang.delete}}" (click)="$event.stopPropagation();deletePriority(element.id)"> <mat-icon class="fa fa-trash fa-2x" aria-hidden="true"></mat-icon> </button> diff --git a/apps/maarch_entreprise/css/engine.css b/apps/maarch_entreprise/css/engine.css index 36035cf4f12..7f4b5052496 100755 --- a/apps/maarch_entreprise/css/engine.css +++ b/apps/maarch_entreprise/css/engine.css @@ -309,4 +309,14 @@ h1.admin-app-name { .headerMaarch.mat-menu-panel { background: #135f7f !important; +} + +.mat-column-default_priority { + display:flex; + justify-content:center; +} + +.mat-column-working_days { + display:flex; + justify-content:right; } \ No newline at end of file -- GitLab