Skip to content

Commit

Permalink
Heading og label
Browse files Browse the repository at this point in the history
  • Loading branch information
oddgfa committed Jan 24, 2025
1 parent 58c1943 commit b89f5e7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/melding/NyMelding.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ function NyMelding({ lukkeKnapp }: NyMeldingProps) {
}}>
<VStack gap="4">
<HStack justify="space-between">
<Heading size="medium">Send ny dialog</Heading>
<Heading level='1' size="medium">Send ny dialog</Heading>
{lukkeKnapp}
</HStack>
<form.Field
Expand Down
5 changes: 3 additions & 2 deletions src/components/melding/VelgSak.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
SakKategori
} from 'src/app/personside/infotabs/meldinger/traadvisning/verktoylinje/journalforing/JournalforingPanel';
import journalsakResource from 'src/rest/resources/journalsakResource';
import { Alert, Button, Heading, HStack, Modal, Radio, RadioGroup, Table, Tag, VStack } from '@navikt/ds-react';
import { Alert, Button, HStack, Label, Modal, Radio, RadioGroup, Table, Tag, VStack } from '@navikt/ds-react';
import Spinner from 'nav-frontend-spinner';
import {
fjernSakerSomAlleredeErTilknyttet,
Expand Down Expand Up @@ -48,10 +48,11 @@ export default function VelgSak({ setSak, valgtSak, error }: VelgSakProps) {
));

return <VStack gap="1">
<Heading size="xsmall">Knytt dialogen til en sak</Heading>
<Label htmlFor="knytt-dialog-til-sak">Knytt dialogen til en sak</Label>
<VStack gap="2">
<div className="max-w-30">
<Button
id="knytt-dialog-til-sak"
variant="secondary"
size="small"
onClick={() => setVelgSakModalOpen(true)}
Expand Down

0 comments on commit b89f5e7

Please sign in to comment.