From 6d8b54d31faab973777edabef1e0e45a6c408a7b Mon Sep 17 00:00:00 2001
From: descamps <descamps@cines.fr>
Date: Fri, 4 Jun 2021 16:35:34 +0200
Subject: [PATCH] KDE - 04/06/2021 - Taille Colonne WIP

---
 .../file-tree-metadata.component.html            |  2 +-
 .../file-tree-metadata.component.scss            | 16 +++++++++++-----
 2 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/ui/ui-frontend/projects/pastis/src/app/profile/edit-profile/file-tree-metadata/file-tree-metadata.component.html b/ui/ui-frontend/projects/pastis/src/app/profile/edit-profile/file-tree-metadata/file-tree-metadata.component.html
index 3bd538049..b7fb1a178 100644
--- a/ui/ui-frontend/projects/pastis/src/app/profile/edit-profile/file-tree-metadata/file-tree-metadata.component.html
+++ b/ui/ui-frontend/projects/pastis/src/app/profile/edit-profile/file-tree-metadata/file-tree-metadata.component.html
@@ -90,7 +90,7 @@
               </ng-container>
               <ng-container *ngSwitchCase="'enumeration'">
                 <mat-select placeholder="Choisissez une valeur" [ngModel]="element.valeurFixe"
-                            (ngModelChange)="setNodeValue(element,$event)" class="select-border">
+                            (ngModelChange)="setNodeValue(element,$event)" class="mat-select-valeur-fixe">
                   <mat-option [value]=""></mat-option>
                   <mat-option *ngFor="let val of element.enumeration" [value]="val">{{val}}</mat-option>
                 </mat-select>
diff --git a/ui/ui-frontend/projects/pastis/src/app/profile/edit-profile/file-tree-metadata/file-tree-metadata.component.scss b/ui/ui-frontend/projects/pastis/src/app/profile/edit-profile/file-tree-metadata/file-tree-metadata.component.scss
index 06465e0c3..45d64eacf 100644
--- a/ui/ui-frontend/projects/pastis/src/app/profile/edit-profile/file-tree-metadata/file-tree-metadata.component.scss
+++ b/ui/ui-frontend/projects/pastis/src/app/profile/edit-profile/file-tree-metadata/file-tree-metadata.component.scss
@@ -10,7 +10,7 @@
 @import '~ui-frontend-common/sass/editable-field';
 
 td {
-  padding-right: 6px !important;
+  padding-right: 20px !important;
 }
 
 .metadata-form {
@@ -132,7 +132,7 @@ td {
 
 .value-text-area {
   padding: 10px 15px 10px 15px;
-  width: 80%;
+  width: 140px;
   color:#212121;
   height:50px;
   @extend .pastis-table-input-border;
@@ -312,8 +312,8 @@ tr:hover .pastis-btn-appear {
   overflow-x: hidden;
   max-height: 425px;
   width: 80%;
-  top: 60px;
-  left: 80px;
+  top: 30px;
+  left: 40px;
   position: relative;
 }
 
@@ -332,7 +332,7 @@ tr:hover .pastis-btn-appear {
   @extend .pastis-panel-shadow;
   position: relative;
   width: 80%;
-  margin-left: 80px;
+  margin-left: 40px;
   top: 20px;
   height: 116px;
 }
@@ -493,3 +493,9 @@ dp-day-calendar .dp-day-calendar-container {
   height:50px;
   position: relative;
 }
+
+.mat-select-valeur-fixe {
+@extend  .select-border;
+  width: 140px !important;
+  height:50px !important;
+}
-- 
GitLab