Skip to content

Commit

Permalink
Update in Gosys modal: Move suggested enhet above enhet search, reduc…
Browse files Browse the repository at this point in the history
…e search results to six lines
  • Loading branch information
eriksson-daniel committed Nov 5, 2024
1 parent 4435aaa commit abe70c1
Showing 1 changed file with 8 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,13 @@ export const ReceivingEnhet = ({ selectedEnhet, setSelectedEnhet, enheter, error

return (
<Container>
<SuggestedEnhet
selectedEnhet={selectedEnhet}
setSelectedEnhet={setSelectedEnhet}
id={id}
typeId={typeId}
gosysOppgaveId={gosysOppgaveId}
/>
<Fieldset>
<Legend>Velg enhet som skal motta oppgaven</Legend>

Expand Down Expand Up @@ -97,14 +104,6 @@ export const ReceivingEnhet = ({ selectedEnhet, setSelectedEnhet, enheter, error
)}
{error === null ? null : <ErrorMessage size="small">{error}</ErrorMessage>}
</Fieldset>

<SuggestedEnhet
selectedEnhet={selectedEnhet}
setSelectedEnhet={setSelectedEnhet}
id={id}
typeId={typeId}
gosysOppgaveId={gosysOppgaveId}
/>
</Container>
);
};
Expand Down Expand Up @@ -174,7 +173,7 @@ const Fieldset = styled.fieldset`
`;

const listStyle = css`
height: 266px;
height: 202px;
overflow-y: scroll;
overflow-x: auto;
border: 1px solid var(--a-border-default);
Expand Down

0 comments on commit abe70c1

Please sign in to comment.