💄 Alternativ Layout for redigeringsskjema (#25)
* 💄 Alternativ Layout for redigeringsskjema * 💄 Gjort endringer på Modal layout og lagt til header på redigering --------- Co-authored-by: Sid <93219711+SindreKjelsrud@users.noreply.github.com>
This commit is contained in:
parent
a399eb31d1
commit
937b3dac2d
3 changed files with 20 additions and 15 deletions
|
|
@ -6,7 +6,6 @@ import { useState } from "react"
|
|||
import Skillelinje from "./Skillelinje"
|
||||
import axios from "axios"
|
||||
|
||||
|
||||
const FeilmeldingsInnhold = (props: FeilmeldingsInnholdInterface) => {
|
||||
const [kommentar, setKommentar] = useState("")
|
||||
const [kommentarfelt, setKommentarfelt] = useState("")
|
||||
|
|
@ -33,8 +32,8 @@ const FeilmeldingsInnhold = (props: FeilmeldingsInnholdInterface) => {
|
|||
}
|
||||
|
||||
return(
|
||||
<div>
|
||||
<div className="flex justify-between">
|
||||
<>
|
||||
<div className="flex justify-between ">
|
||||
<FeilkortHeader
|
||||
id={props.id}
|
||||
tittel={props.tittel}
|
||||
|
|
@ -55,7 +54,7 @@ const FeilmeldingsInnhold = (props: FeilmeldingsInnholdInterface) => {
|
|||
onClick={() => {
|
||||
props.setVisModal(false)
|
||||
props.setRedigeringsmodus(false)
|
||||
} }
|
||||
}}
|
||||
>
|
||||
Lukk
|
||||
</Button>
|
||||
|
|
@ -74,7 +73,7 @@ const FeilmeldingsInnhold = (props: FeilmeldingsInnholdInterface) => {
|
|||
tekst={kommentar}
|
||||
/>
|
||||
}
|
||||
</div>
|
||||
</>
|
||||
)
|
||||
}
|
||||
export default FeilmeldingsInnhold;
|
||||
|
|
|
|||
Reference in a new issue