Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Placement de la position des matTooltip à droite #3143

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
>
<div
matTooltip="{{ item.acquisition_framework_name }}"
matTooltipPosition="after"
[attr.data-qa]="item.acquisition_framework_name"
>
<span class="pre-wrap">{{ item.acquisition_framework_name }}</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
<span
class="bg-warning p-2 rounded"
matTooltip="Aucune correspondance pour «&nbsp;{{ searchTerm }}&nbsp;»"
matTooltipPosition="after"
>
<mat-icon inline>warning_amber</mat-icon>
Aucune correspondance pour «&nbsp;{{ searchTerm }}&nbsp;»
Expand All @@ -48,6 +49,7 @@
<div
class="ng-option disabled"
matTooltip="Chargements des zones pour «&nbsp;{{ searchTerm }}&nbsp;»"
matTooltipPosition="after"
>
<span class="bg-info p-2 rounded">
<mat-icon inline>autorenew</mat-icon>
Expand All @@ -60,7 +62,10 @@
ng-option-tmp
let-item="item"
>
<div matTooltip="{{ item.area_name }}">
<div
matTooltip="{{ item.area_name }}"
matTooltipPosition="after"
>
<span class="pre-wrap">{{ item.area_name }}</span>
</div>
</ng-template>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
<mat-icon
*ngIf="definition"
[matTooltip]="definition"
matTooltipPosition="after"
matTooltipClass="form-tooltip"
class="small-icon"
matSuffix
Expand Down Expand Up @@ -87,7 +88,10 @@
let-index="index"
let-search="searchTerm"
>
<div [matTooltip]="item[keyLabel]">
<div
[matTooltip]="item[keyLabel]"
matTooltipPosition="after"
>
<span class="pre-wrap">{{ item[keyLabel] }}</span>
</div>
</ng-template>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
>
<div
matTooltip="{{ item.dataset_name }}"
matTooltipPosition="after"
[attr.data-qa]="item.dataset_name"
>
<span class="pre-wrap">{{ item.dataset_name }}</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@
let-index="index"
let-search="searchTerm"
>
<div [matTooltip]="item[keyLabel]">
<div
[matTooltip]="item[keyLabel]"
matTooltipPosition="after"
>
<span class="pre-wrap">{{ item[keyLabel] }}</span>
</div>
</ng-template>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
>
<div
matTooltip="{{ item[definitionLang] }}"
matTooltipPosition="after"
[attr.data-qa]="item['cd_nomenclature']"
>
<span class="pre-wrap">{{ item[labelLang] }}</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@
let-index="index"
let-search="searchTerm"
>
<div matTooltip="{{ item.nom_complet }}">
<div
matTooltip="{{ item.nom_complet }}"
matTooltipPosition="after"
>
<span
class="pre-wrap"
[attr.data-qa]="'gn-common-form-observers-select-' + item.nom_complet"
Expand Down
11 changes: 9 additions & 2 deletions frontend/src/app/metadataModule/actors/actors.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,10 @@
let-index="index"
let-search="searchTerm"
>
<div [matTooltip]="item.label_default">
<div
[matTooltip]="item.label_default"
matTooltipPosition="after"
>
<span class="pre-wrap">{{ item.label_default }}</span>
</div>
</ng-template>
Expand Down Expand Up @@ -82,6 +85,7 @@
>
<div
[matTooltip]="item.nom_organisme"
matTooltipPosition="after"
[attr.data-qa]="'pnx-metadata-organism-' + item.nom_organisme"
>
<span class="pre-wrap">{{ item.nom_organisme }}</span>
Expand Down Expand Up @@ -110,7 +114,10 @@
let-index="index"
let-search="searchTerm"
>
<div [matTooltip]="item.nom_complet">
<div
[matTooltip]="item.nom_complet"
matTooltipPosition="after"
>
<span class="pre-wrap">{{ item.nom_complet }}</span>
</div>
</ng-template>
Expand Down
2 changes: 2 additions & 0 deletions frontend/src/app/metadataModule/metadata.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ <h3 class="main-color">Catalogue des jeux de données</h3>
>
<div
[matTooltip]="item.nom_organisme"
matTooltipPosition="after"
[attr.data-qa]="item.id_organism"
>
<span class="pre-wrap">{{ item.nom_organisme }}</span>
Expand All @@ -318,6 +319,7 @@ <h3 class="main-color">Catalogue des jeux de données</h3>
>
<div
[matTooltip]="item.nom_complet"
matTooltipPosition="after"
[attr.data-qa]="item.id_role"
>
<span class="pre-wrap">{{ item.nom_complet }}</span>
Expand Down
Loading