From 4ffb6a7c1b6b782a82734ef3f063a709696dbdc2 Mon Sep 17 00:00:00 2001 From: Colin Darie Date: Mon, 25 Nov 2024 14:38:28 +0100 Subject: [PATCH 1/2] style(dossiers): cell headers can wrap on multilines --- .../column_table_header_component.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/instructeurs/column_table_header_component/column_table_header_component.html.haml b/app/components/instructeurs/column_table_header_component/column_table_header_component.html.haml index 0a15f2350..8a053eff4 100644 --- a/app/components/instructeurs/column_table_header_component/column_table_header_component.html.haml +++ b/app/components/instructeurs/column_table_header_component/column_table_header_component.html.haml @@ -1,3 +1,3 @@ - @columns.each do |column| - %th{ aria_sort(column), scope: "col", class: classname(column) } + %th.fr-cell--multiline{ aria_sort(column), scope: "col", class: classname(column) } = column_header(column) From ca4f077b4c071a40bcb7c6ae3b4f49ddcc423370 Mon Sep 17 00:00:00 2001 From: Colin Darie Date: Mon, 25 Nov 2024 14:42:59 +0100 Subject: [PATCH 2/2] style(recherche): procedure libelle cell can wrap --- app/views/experts/avis/procedure.html.haml | 2 +- app/views/recherche/index.html.haml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/experts/avis/procedure.html.haml b/app/views/experts/avis/procedure.html.haml index b5d60c18e..a0331258e 100644 --- a/app/views/experts/avis/procedure.html.haml +++ b/app/views/experts/avis/procedure.html.haml @@ -46,7 +46,7 @@ = link_to(expert_avis_path(avis.procedure, avis), class: "fr-link") do = avis.dossier.id %td= link_to(avis.dossier.user_email_for(:display), expert_avis_path(avis.procedure, avis)) - %td= link_to(avis.procedure.libelle, expert_avis_path(avis.procedure, avis)) + %td.fr-cell--multiline= link_to(avis.procedure.libelle, expert_avis_path(avis.procedure, avis)) .fr-table__footer .fr-table__footer--start .fr-table__footer--middle diff --git a/app/views/recherche/index.html.haml b/app/views/recherche/index.html.haml index ad51cbcbd..81cae30c8 100644 --- a/app/views/recherche/index.html.haml +++ b/app/views/recherche/index.html.haml @@ -41,7 +41,7 @@ = p.dossier_id - if @notifications_dossier_ids.include?(p.dossier_id) %span.notifications{ 'aria-label': 'notifications' } - %td= procedure_libelle + %td.fr-cell--multiline= procedure_libelle %td= user_email %td.flex.column= status_badge(p.state)