From 6b17ffb70d5a36df88c3597ae33f949acfdd642d Mon Sep 17 00:00:00 2001 From: Dorine Lambinet <dorine.lambinet@assemblee-nationale.fr> Date: Wed, 5 Mar 2025 11:09:38 +0100 Subject: [PATCH] =?UTF-8?q?Fix=20bug=20d'affichage=20bordure=20dispositif?= =?UTF-8?q?=20de=20la=20feuille=20de=20paie=20(qui=20se=20d=C3=A9calait=20?= =?UTF-8?q?quand=20le=20dispositif=20=C3=A9tait=20selectionn=C3=A9)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../test_case_selected/PaySlipView.svelte | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/src/lib/components/impacts_view/test_cases_view/test_case_selected/PaySlipView.svelte b/src/lib/components/impacts_view/test_cases_view/test_case_selected/PaySlipView.svelte index c0ed15e8e..067133a29 100644 --- a/src/lib/components/impacts_view/test_cases_view/test_case_selected/PaySlipView.svelte +++ b/src/lib/components/impacts_view/test_cases_view/test_case_selected/PaySlipView.svelte @@ -361,7 +361,7 @@ <!--Indentation pour chaque niveau de l'arbre, illustré par une bordure--> {#each iterToDepth(depth)} <div - class={`min-h-full border-l-2 bg-white pl-1 pr-2 ${ + class={`min-h-full border-l-2 bg-white pr-3 ${ decomposition.name !== displayMode.parametersVariableName && !( @@ -375,9 +375,7 @@ ? "border-gray-400" : "border-black" }`} - > - - </div> + ></div> {/each} <!--Si la variable est obsolète, ou que sa date de relecture est inconnue ou trop ancienne, un picto attention est affiché --> {#if decomposition.obsolete || decomposition.last_value_still_valid_on === undefined || decomposition.last_value_still_valid_on < (new Date().getFullYear() - 2).toString()} @@ -448,7 +446,7 @@ <!--Indentation pour chaque niveau de l'arbre, illustré par une bordure--> {#each iterToDepth(depth)} <div - class={`min-h-full border-l-2 bg-white pl-1 pr-2 ${ + class={`min-h-full border-l-2 bg-white pr-3 ${ decomposition.name !== displayMode.parametersVariableName && !( @@ -462,9 +460,7 @@ ? "border-gray-400" : "border-black" }`} - > - - </div> + ></div> {/each} <button class="cursor-pointer overflow-x-hidden text-ellipsis text-left font-serif hover:z-20 hover:overflow-x-visible hover:bg-white hover:bg-opacity-90 hover:text-le-gris-dispositif-dark hover:underline" -- GitLab