From 3211c300dbe4ee88432ab70aaab1d0acfc8b9341 Mon Sep 17 00:00:00 2001 From: Knut Magne Riise Date: Tue, 6 Feb 2024 15:11:06 +0100 Subject: [PATCH] =?UTF-8?q?small=20radiogroups=20p=C3=A5=20booleans=20og?= =?UTF-8?q?=20litt=20spacing=20for=20at=20det=20skal=20bli=20lettere=20?= =?UTF-8?q?=C3=A5=20se=20helheten=20hos=20saksbehandler?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../oppgave-steg-input/OppgaveStegInput.tsx | 20 ++++++++++--------- .../OppgaveStegInputBoolean.tsx | 1 + 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/app/components/oppgave-steg-input/OppgaveStegInput.tsx b/app/components/oppgave-steg-input/OppgaveStegInput.tsx index 15e3cce8..16548747 100644 --- a/app/components/oppgave-steg-input/OppgaveStegInput.tsx +++ b/app/components/oppgave-steg-input/OppgaveStegInput.tsx @@ -57,15 +57,17 @@ export function OppgaveStegInput(props: IInputProps) { case "Boolean": return ( - +
+ +
); case "LocalDate": diff --git a/app/components/oppgave-steg-input/OppgaveStegInputBoolean.tsx b/app/components/oppgave-steg-input/OppgaveStegInputBoolean.tsx index 0bcf2c48..3a6945e3 100644 --- a/app/components/oppgave-steg-input/OppgaveStegInputBoolean.tsx +++ b/app/components/oppgave-steg-input/OppgaveStegInputBoolean.tsx @@ -17,6 +17,7 @@ export function OppgaveStegInputBoolean(props: IInputProps) { legend: <>{label}, children: undefined, // Needed to keep typescript happy })} + size={"small"} > {options?.trueText || "Ja"} {options?.falseText || "Nei"}