Skip to content

Commit

Permalink
fix. Mulighet for å lukke modal for å overta avtale
Browse files Browse the repository at this point in the history
* La til heading på modal slik at X-knapp blir vist
* Fikse aria-label på modal
  • Loading branch information
eirikv committed Apr 4, 2024
1 parent 4ae67ed commit 0d1e33e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 3 additions & 1 deletion src/AvtaleSide/OvertaAvtalen/UfordeltModusModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ interface Props {
const UfordeltModusModal = (props: Props) => {
return (
<Modal
aria-label="Overta avtale -modal"
aria-label="Modal for å overta avtale"
className={cls.element('modal')}
closeOnBackdropClick
header={{ heading: 'Avtalen er ufordelt' }}
onClose={props.lukkModal}
open={props.isOpen}
>
Expand Down
3 changes: 0 additions & 3 deletions src/AvtaleSide/steg/GodkjenningSteg/FordelAvtaleVeileder.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ export const FordelAvtaleVeileder: FunctionComponent = () => {
return (
<Innholdsboks>
<div style={{ textAlign: 'center' }}>
<VerticalSpacer rem={1} />
<Heading size="medium">Avtalen er ufordelt</Heading>
<VerticalSpacer rem={1} />
<BodyShort size="small">
Avtalen er opprettet av arbeidsgiver. Den er ikke tildelt en veileder ennå.
</BodyShort>
Expand Down

0 comments on commit 0d1e33e

Please sign in to comment.