diff --git a/frontend/editor/src/core/components/layout/Workbench.tsx b/frontend/editor/src/core/components/layout/Workbench.tsx index aabf54251a..0c1055acb6 100644 --- a/frontend/editor/src/core/components/layout/Workbench.tsx +++ b/frontend/editor/src/core/components/layout/Workbench.tsx @@ -2,6 +2,7 @@ import { useEffect, useState, Suspense, lazy } from "react"; import { useTranslation } from "react-i18next"; import KeyboardArrowDownIcon from "@mui/icons-material/KeyboardArrowDown"; import { Box, Loader, Center } from "@mantine/core"; +import { Button } from "@app/ui/Button"; import { useToolWorkflow } from "@app/contexts/ToolWorkflowContext"; import { useFileHandler } from "@app/hooks/useFileHandler"; import { useFileState } from "@app/contexts/FileContext"; @@ -248,16 +249,18 @@ export default function Workbench() { {/* Reopen tab: a little handle hanging off the bar's bottom-right while the viewer tool row is retracted. */} {showReopenTab && ( - + leftSection={ + + } + /> )} )} diff --git a/frontend/editor/src/core/components/shared/superSearch/SuperSearch.tsx b/frontend/editor/src/core/components/shared/superSearch/SuperSearch.tsx index b704f31a04..2ec91bf825 100644 --- a/frontend/editor/src/core/components/shared/superSearch/SuperSearch.tsx +++ b/frontend/editor/src/core/components/shared/superSearch/SuperSearch.tsx @@ -9,6 +9,7 @@ import { import { createPortal } from "react-dom"; import { useTranslation } from "react-i18next"; import { Text } from "@mantine/core"; +import { Button } from "@app/ui/Button"; import { TextInput } from "@app/components/shared/TextInput"; import LocalIcon from "@app/components/shared/LocalIcon"; import { isMacLike } from "@app/utils/hotkeys"; @@ -186,9 +187,12 @@ export default function SuperSearch() { const index = flatResults.indexOf(result); const active = index === highlight; return ( - + ); })}