Skip to content

Commit

Permalink
Mer luft
Browse files Browse the repository at this point in the history
  • Loading branch information
sndrem committed Dec 10, 2024
1 parent bdef036 commit 83e3024
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export function TiltakDetaljerFane({
Lokal informasjon
</Heading>
{tiltaksgjennomforingAlert && (
<Alert variant="info" style={{ whiteSpace: "pre-wrap" }}>
<Alert variant="info" style={{ whiteSpace: "pre-wrap", margin: "1rem 0" }}>
{tiltaksgjennomforingAlert}
</Alert>
)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,23 @@ export function TiltakHeader({ tiltak }: Props) {
<>
<VStack gap="2">
<Heading level="2" size="xlarge">
<BodyShort spacing size="small" textColor="default">
<BodyShort spacing size="small">
{tiltak.underTittel}
</BodyShort>
</Heading>
<HStack gap={"2"} align="center">
<Heading size="large">{tiltak.tittel}</Heading>
{isTiltakAktivt(tiltak) && <GjennomforingStatusTag status={tiltak.status} />}
{!isTiltakAktivt(tiltak) && <GjennomforingStatusTag status={tiltak.status} />}
</HStack>
</VStack>
{beskrivelse && (
<BodyLong size="large" spacing style={{ whiteSpace: "pre-wrap" }}>
<BodyLong size="large" spacing style={{ whiteSpace: "pre-wrap", marginTop: "1rem" }}>
{beskrivelse}
</BodyLong>
)}
{tiltakstype.beskrivelse && (
<VStack gap={"0"} style={{ marginTop: "1rem" }}>
<Heading level="2" size="small" textColor="subtle">
<Heading level="2" size="small">
Generell info
</Heading>
<BodyLong size="large" style={{ whiteSpace: "pre-wrap" }}>
Expand Down

0 comments on commit 83e3024

Please sign in to comment.