diff --git a/webapp/src/components/App/Singlestudy/Commands/Edition/DraggableCommands/CommandListItem/style.ts b/webapp/src/components/App/Singlestudy/Commands/Edition/DraggableCommands/CommandListItem/style.ts index 55b979cdfc..fd0756f3ad 100644 --- a/webapp/src/components/App/Singlestudy/Commands/Edition/DraggableCommands/CommandListItem/style.ts +++ b/webapp/src/components/App/Singlestudy/Commands/Edition/DraggableCommands/CommandListItem/style.ts @@ -1,6 +1,5 @@ import { Accordion, Box, styled } from "@mui/material"; import DeleteIcon from "@mui/icons-material/HighlightOff"; -import { PAPER_BACKGROUND_NO_TRANSPARENCY } from "../../../../../../../theme"; export const ItemContainer = styled(Box, { shouldForwardProp: (prop) => prop !== "onTopVisible", @@ -15,7 +14,6 @@ export const DraggableAccorderon = styled(Accordion, { })<{ isDragging?: boolean }>(({ theme, isDragging }) => ({ flex: 1, boxSizing: "border-box", - backgroundColor: PAPER_BACKGROUND_NO_TRANSPARENCY, ...(isDragging ? { borderColor: theme.palette.secondary.main, diff --git a/webapp/src/components/App/Singlestudy/HomeView/InformationView/Notes/DetailsList.tsx b/webapp/src/components/App/Singlestudy/HomeView/InformationView/Notes/DetailsList.tsx index 55e6300dd7..f3775fc4a9 100644 --- a/webapp/src/components/App/Singlestudy/HomeView/InformationView/Notes/DetailsList.tsx +++ b/webapp/src/components/App/Singlestudy/HomeView/InformationView/Notes/DetailsList.tsx @@ -22,7 +22,6 @@ function DetailsList({ items }: Props) { {items.map((item) => ( diff --git a/webapp/src/components/App/Singlestudy/HomeView/InformationView/Notes/utils.ts b/webapp/src/components/App/Singlestudy/HomeView/InformationView/Notes/utils.ts index 91ca0f7b57..adfc2d2903 100644 --- a/webapp/src/components/App/Singlestudy/HomeView/InformationView/Notes/utils.ts +++ b/webapp/src/components/App/Singlestudy/HomeView/InformationView/Notes/utils.ts @@ -4,7 +4,7 @@ import { ContentState, convertToRaw, EditorState } from "draft-js"; import draftToHtml from "draftjs-to-html"; import { convertFromHTML } from "draft-convert"; import { Element as XMLElement, js2xml, xml2json } from "xml-js"; -import theme from "../../../../../../theme"; +import theme from "../../../../theme"; interface BlockMap { from: string; @@ -588,9 +588,9 @@ export const convertSize = (bytes: number): string => { const sizeRanges = [ { limit: 0, color: "default" }, // Size is unknown or not calculated - { limit: 5 * BYTES_PER_GB, color: theme.palette.success.main }, // Size is 0 to 5 GB - { limit: 25 * BYTES_PER_GB, color: theme.palette.warning.main }, // Size is 5 GB to 25 GB - { limit: Infinity, color: theme.palette.error.main }, // Size is 25 GB and above + { limit: 5 * BYTES_PER_GB, color: "palette.success.main" }, // Size is 0 to 5 GB + { limit: 25 * BYTES_PER_GB, color: "palette.warning.main" }, // Size is 5 GB to 25 GB + { limit: Infinity, color: "palette.error.main" }, // Size is 25 GB and above ]; export const getColorForSize = (bytes: number): string => { diff --git a/webapp/src/components/App/Singlestudy/NavHeader/Actions.tsx b/webapp/src/components/App/Singlestudy/NavHeader/Actions.tsx index b922b7589c..814d476ab8 100644 --- a/webapp/src/components/App/Singlestudy/NavHeader/Actions.tsx +++ b/webapp/src/components/App/Singlestudy/NavHeader/Actions.tsx @@ -124,18 +124,11 @@ function Actions({ /> {isManaged ? ( - + ) : ( - + )} - {study.tags?.map((tag) => ( - - ))} + {study.tags?.map((tag) => )} {isExplorer && (