diff --git a/front/components/Editor/Editor.tsx b/front/components/Editor/Editor.tsx index 2cecf098..455f1a71 100644 --- a/front/components/Editor/Editor.tsx +++ b/front/components/Editor/Editor.tsx @@ -7,7 +7,7 @@ import { AuthContext } from "../Security/AuthProvider"; import learnhouseIcon from "public/learnhouse_icon.png"; import { ToolbarButtons } from "./Toolbar/ToolbarButtons"; import { motion, AnimatePresence } from "framer-motion"; -import Image from "next/legacy/image"; +import Image from "next/image"; import styled from "styled-components"; import { getBackendUrl } from "@services/config/config"; import { SlashIcon } from "@radix-ui/react-icons"; @@ -115,7 +115,7 @@ function Editor(props: Editor) { {props.course.course.name} {props.activity.name}{" "} props.setContent(editor.getJSON())}> - Save + Save @@ -212,7 +212,7 @@ const EditorUserProfileWrapper = styled.div` //..todo const EditorInfoLearnHouseLogo = styled(Image)` border-radius: 6px; - margin-right: 15px; + margin-right: 0px; `; const EditorInfoDocName = styled.div` font-size: 16px;