From 828d2e9311144e8da69b3c683a5f7e705144a6ab Mon Sep 17 00:00:00 2001 From: Sarah Wang Date: Sat, 17 Aug 2024 22:54:53 -0400 Subject: [PATCH] update styling --- demo/jest.config.ts | 2 +- demo/src/MemoryModelsMenu.tsx | 9 ++------- demo/src/MemoryModelsUserInput.tsx | 1 - demo/src/SvgDisplay.tsx | 4 ---- demo/src/css/styles.css | 14 ++++++++++++++ demo/src/mocks/fileMock.js | 2 +- 6 files changed, 18 insertions(+), 14 deletions(-) diff --git a/demo/jest.config.ts b/demo/jest.config.ts index 0a1fabdf..76676a39 100644 --- a/demo/jest.config.ts +++ b/demo/jest.config.ts @@ -94,7 +94,7 @@ const config: Config = { roughjs: require.resolve("roughjs"), "memory-viz": require.resolve("../memory-viz/src"), // Mocks a file (see fileMock.js) each time any of the below file types are imported. - "\\.(jpg|ico|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": + "\\.(jpg|ico|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga|css|less|sass|scss)$": "./mocks/fileMock.js", }, diff --git a/demo/src/MemoryModelsMenu.tsx b/demo/src/MemoryModelsMenu.tsx index 2638a2c5..26d03c4b 100644 --- a/demo/src/MemoryModelsMenu.tsx +++ b/demo/src/MemoryModelsMenu.tsx @@ -1,6 +1,7 @@ import React, { ReactNode, useState } from "react"; import { Box, Button, Menu } from "@mui/material"; import ExpandMoreRoundedIcon from "@mui/icons-material/ExpandMoreRounded"; +import "./css/styles.css"; type MemoryModelsMenuPropTypes = { menuName: string; @@ -23,13 +24,7 @@ export default function MemoryModelsMenu(props: MemoryModelsMenuPropTypes) {