Skip to content

Commit

Permalink
🚸 tydeligere visning av feilmelding på utenlandsperioder. https://jir…
Browse files Browse the repository at this point in the history
  • Loading branch information
tidnav committed May 27, 2024
1 parent 1db74b9 commit ec0ca1c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,10 @@
flex-direction: row;
justify-content: flex-start;
}
.feilmelding:before {
content: '•';
}
.feilmelding {
display: flex;
gap: var(--a-spacing-2);
}
3 changes: 2 additions & 1 deletion components/pageComponents/standard/Medlemskap/Medlemskap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import {
import { useSoknad } from 'hooks/SoknadHook';
import { updateSøknadData } from 'context/soknadcontext/actions';
import { UtenlandsOppholdListe } from 'components/pageComponents/standard/Medlemskap/UtenlandsOppholdListe';
import styles from './Medlemskap.module.css';

interface Props {
onBackClick: () => void;
Expand Down Expand Up @@ -308,7 +309,7 @@ export const Medlemskap = ({ onBackClick }: Props) => {

{utenlandsOppholdErrorMessage && (
<div className={'navds-error-message navds-error-message--medium navds-label'}>
{utenlandsOppholdErrorMessage}
<p className={styles.feilmelding}>{utenlandsOppholdErrorMessage}</p>
</div>
)}
</ColorPanel>
Expand Down

0 comments on commit ec0ca1c

Please sign in to comment.