Skip to content
Snippets Groups Projects
Commit 36a152fc authored by francois.grand's avatar francois.grand
Browse files

#77 VerticalResultElementComponent : correction d'un pb d'affichage...

 #77 VerticalResultElementComponent : correction d'un pb d'affichage (résultats non alignés correctement, pas en gras)
parent 308dad3e
No related branches found
No related tags found
1 merge request!15Resolve "faire les modifications nécessaires prendre en compte le ticket cassiopee/jalhyd#46 (Gestion de la session dans la lib)"
......@@ -3,11 +3,11 @@
<div [innerHtml]="htmlTooltip"></div>
</ng-template>
<td *ngIf="hasValue" class="bold_right">
<td *ngIf="hasValue" class="label2">
{{resultLabel}}
</td>
<td *ngIf="hasValue||hasError" [mdbTooltip]="popTemplate" [isDisabled]="tooltipDisabled" class="bold_center">
<td *ngIf="hasValue||hasError" [mdbTooltip]="popTemplate" [isDisabled]="tooltipDisabled" class="value2">
<!-- icône en cas d'erreur -->
<i *ngIf="hasError" class="fa fa-exclamation-triangle" style="color:red" aria-hidden="true"></i>
......@@ -28,4 +28,4 @@
{{r.value}}
</td>
</tr>
</ng-template>
</ng-template>
\ No newline at end of file
......@@ -12,16 +12,16 @@ import { ResultElementBaseComponent } from "./result-element-base.component";
templateUrl: "./vertical-result-element.component.html",
styles: [
`.label1 {
text-align: right; background-color: #f0f0f0
text-align: right; background-color: #f0f0f0; font-weight: bold
}`,
`.value1 {
text-align: center; background-color: #f0f0f0
text-align: center; background-color: #f0f0f0; font-weight: bold
}`,
`.label2 {
text-align: right; background-color: #ffffff
text-align: right; background-color: #ffffff; font-weight: bold
}`,
`.value2 {
text-align: center; background-color: #ffffff
text-align: center; background-color: #ffffff; font-weight: bold
}`
]
})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment