Skip to main content
Sign in
Snippets Groups Projects
Commit bf9b6f97 authored by Dorine Lambinet's avatar Dorine Lambinet
Browse files

Retire le padding par défaut de 5 pour pouvoir être plus flexible sur les...

Retire le padding par défaut de 5 pour pouvoir être plus flexible sur les composants. Agrandit la taille des inputs (beaucoup trop petite)
parent 6f72c8e7
Branches
Tags
1 merge request!37Améliore l'UI d'édition du cas type
...@@ -5,7 +5,11 @@ ...@@ -5,7 +5,11 @@
PersonEntity, PersonEntity,
Role, Role,
} from "@openfisca/json-model" } from "@openfisca/json-model"
import { getRolePersonsIdKey, isAdultRole, isChildRole } from "@openfisca/json-model" import {
getRolePersonsIdKey,
isAdultRole,
isChildRole,
} from "@openfisca/json-model"
import { createEventDispatcher } from "svelte" import { createEventDispatcher } from "svelte"
import { session } from "$app/stores" import { session } from "$app/stores"
...@@ -389,8 +393,8 @@ ...@@ -389,8 +393,8 @@
} }
</script> </script>
<h3 class="font-bold text-xl ">Composition du cas type&nbsp;:</h3> <h3 class="font-bold text-xl mx-5">Composition du cas type&nbsp;:</h3>
<section class="bg-white border-gray-200 p-2 m-3 rounded-sm"> <section class="bg-white border-gray-200 p-2 m-3 rounded-sm mx-5">
<div class="flex items-center"> <div class="flex items-center">
<label class="ml-2 mr-2"> <label class="ml-2 mr-2">
Nombre d'adultes Nombre d'adultes
...@@ -538,7 +542,7 @@ ...@@ -538,7 +542,7 @@
{/each} {/each}
</section> </section>
<section class="border-t border-b-0 border-r-0 border-l-0 mt-5"> <section class="border-t border-b-0 border-r-0 border-l-0 mt-5 mx-5">
<h1 class="font-bold mt-3 text-xl">Caractéristiques du cas type&nbsp;:</h1> <h1 class="font-bold mt-3 text-xl">Caractéristiques du cas type&nbsp;:</h1>
<ul> <ul>
{#each [...variablesName] as variableName} {#each [...variablesName] as variableName}
... ...
......
...@@ -111,7 +111,7 @@ ...@@ -111,7 +111,7 @@
<section> <section>
<div <div
class="bg-white flex-col items-baseline text-black text-xs my-2 mx-2 py-2 sm:p-1 md:p-2" class="bg-gray-100 flex-col items-baseline text-black text-base my-2 py-2 sm:p-1 md:p-2"
> >
<div class="flex items-start justify-between"> <div class="flex items-start justify-between">
<h1 class="w-3/5 py-1 text-base"> <h1 class="w-3/5 py-1 text-base">
... ...
......
...@@ -629,8 +629,10 @@ ...@@ -629,8 +629,10 @@
Configurer le cas type Configurer le cas type
</h1> </h1>
<div class="lg:h-[calc(100vh-13rem)] lg:overflow-y-auto px-5"> <div class="lg:h-[calc(100vh-13rem)] lg:overflow-y-auto">
<p class="text-sm my-4 text-gray-700 rounded bg-le-bleu-light p-2"> <p
class="text-sm my-4 text-gray-700 rounded bg-le-bleu-light p-2 mx-5"
>
📌 Par défaut, toutes les caractéristiques du cas type sont 📌 Par défaut, toutes les caractéristiques du cas type sont
considérées comme étant stables depuis 2 ans. considérées comme étant stables depuis 2 ans.
</p> </p>
...@@ -685,8 +687,10 @@ ...@@ -685,8 +687,10 @@
Configurer le cas type Configurer le cas type
</h1> </h1>
<div class="lg:h-[calc(100vh-13rem)] lg:overflow-y-auto px-5"> <div class="lg:h-[calc(100vh-13rem)] lg:overflow-y-auto">
<p class="text-sm my-4 text-gray-700 rounded bg-le-bleu-light p-2"> <p
class="text-sm my-4 text-gray-700 rounded bg-le-bleu-light p-2 mx-5"
>
📌 Par défaut, toutes les caractéristiques du cas type sont 📌 Par défaut, toutes les caractéristiques du cas type sont
considérées comme étant stables depuis 2 ans. considérées comme étant stables depuis 2 ans.
</p> </p>
...@@ -708,6 +712,7 @@ ...@@ -708,6 +712,7 @@
situation={$testCases[editionMode.testCaseIndex]} situation={$testCases[editionMode.testCaseIndex]}
year={$year} year={$year}
/> />
<VariableReferredInputsPane <VariableReferredInputsPane
{date} {date}
inputInstantsByVariableName={$inputInstantsByVariableNameArray[ inputInstantsByVariableName={$inputInstantsByVariableNameArray[
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment