diff --git a/src/components/InstructionMenu.tsx b/src/components/InstructionMenu.tsx
index cb7e3c6..a00a7e0 100644
--- a/src/components/InstructionMenu.tsx
+++ b/src/components/InstructionMenu.tsx
@@ -1,7 +1,8 @@
-import { Card, CardContent, styled, Typography } from "@mui/material"
+import { Card, CardContent, Grid, styled, Typography } from "@mui/material"
import React from "react"
import instructions, { Instruction } from "../Instructions"
import Tooltip, { TooltipProps, tooltipClasses } from "@mui/material/Tooltip"
+import { SIDEBAR_WIDTH } from "../const"
const HtmlTooltip = styled(({ className, ...props }: TooltipProps) => (
@@ -15,6 +16,16 @@ const HtmlTooltip = styled(({ className, ...props }: TooltipProps) => (
}
}))
+const sideBar: React.CSSProperties = {
+ height: "100%",
+ position: "fixed",
+ backgroundColor: "#999999",
+ //overflowX: "hidden",
+ paddingTop: "30px",
+ width: `${SIDEBAR_WIDTH}rem`,
+ justifyContent: "center"
+}
+
function handleDragStart(
instruction: Instruction,
event: React.DragEvent | undefined
@@ -32,11 +43,11 @@ export default function InstructionMenu() {
let key = 0
return (
- <>
-
+
+
{instructions.map((instruction: Instruction) => {
return (
-
+
-
+
)
})}
-
- >
+
+
)
}