Commit 4ba535c3 authored by Romain DELEAU's avatar Romain DELEAU

fix prerequire css

parent 74aebfe1
...@@ -103,7 +103,7 @@ ...@@ -103,7 +103,7 @@
<div class="piece-prerequires-ressources-element" *ngIf="ressource.name"> <div class="piece-prerequires-ressources-element" *ngIf="ressource.name">
<div class="piece-prerequires-ressources-element-checkbox"> <div class="piece-prerequires-ressources-element-checkbox">
<input name="ressource" type="checkbox" (change)="checkboxChangedRessource($event, ressource)" [checked]="isCheckedRessource(ressource)"/> <input name="ressource" type="checkbox" (change)="checkboxChangedRessource($event, ressource)" [checked]="isCheckedRessource(ressource)"/>
<label for="ressource">{{ressource.name}}</label> <label for="ressource" [title]="ressource.name">{{ressource.name}}</label>
</div> </div>
<div class="piece-prerequires-ressources-element-quantity" *ngIf="isCheckedRessource(ressource)"> <div class="piece-prerequires-ressources-element-quantity" *ngIf="isCheckedRessource(ressource)">
<select name="ressource" [(ngModel)]="getAssociatePrerequireRessource(ressource).operator"> <select name="ressource" [(ngModel)]="getAssociatePrerequireRessource(ressource).operator">
...@@ -121,7 +121,7 @@ ...@@ -121,7 +121,7 @@
<div class="piece-prerequires-ressources-element" *ngIf="ressource.name"> <div class="piece-prerequires-ressources-element" *ngIf="ressource.name">
<div class="piece-prerequires-ressources-element-checkbox"> <div class="piece-prerequires-ressources-element-checkbox">
<input name="ressource" type="checkbox" (change)="checkboxChangedRessource($event, ressource)" [checked]="isCheckedRessource(ressource)"/> <input name="ressource" type="checkbox" (change)="checkboxChangedRessource($event, ressource)" [checked]="isCheckedRessource(ressource)"/>
<label for="ressource">{{ressource.name}}</label> <label for="ressource" [title]="ressource.name">{{ressource.name}}</label>
</div> </div>
<div class="piece-prerequires-ressources-element-quantity" *ngIf="isCheckedRessource(ressource)"> <div class="piece-prerequires-ressources-element-quantity" *ngIf="isCheckedRessource(ressource)">
<select name="ressource" [(ngModel)]="getAssociatePrerequireRessource(ressource).operator"> <select name="ressource" [(ngModel)]="getAssociatePrerequireRessource(ressource).operator">
......
...@@ -140,7 +140,8 @@ ...@@ -140,7 +140,8 @@
&-form { &-form {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
overflow: scroll; overflow-x: hidden;
overflow-y: auto;
} }
&-prerequires { &-prerequires {
...@@ -150,7 +151,6 @@ ...@@ -150,7 +151,6 @@
transform: translateY(-50%); transform: translateY(-50%);
width: 50%; width: 50%;
height: 90%; height: 90%;
border-bottom-left-radius: 10px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
} }
...@@ -162,8 +162,6 @@ ...@@ -162,8 +162,6 @@
position: relative; position: relative;
top: 50%; top: 50%;
transform: translateY(-50%); transform: translateY(-50%);
width: 50%;
height: 90%;
border-bottom-left-radius: 10px; border-bottom-left-radius: 10px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
...@@ -171,7 +169,6 @@ ...@@ -171,7 +169,6 @@
&-element { &-element {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
width: 100%;
margin-top: 5px; margin-top: 5px;
&-checkbox { &-checkbox {
...@@ -186,7 +183,7 @@ ...@@ -186,7 +183,7 @@
position: relative; position: relative;
width: 50%; width: 50%;
display: flex; display: flex;
padding-right: 5px; margin-right: 10px;
justify-content: flex-end; justify-content: flex-end;
input { input {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment