From dc616e4f15d8fd4d99a1c00c0ddc5cde3e412e68 Mon Sep 17 00:00:00 2001 From: David Cramer Date: Mon, 27 Nov 2023 11:31:06 -0800 Subject: [PATCH] Various cleanup of UI styles --- packages/overlay/package.json | 1 - packages/overlay/src/components/CardList.tsx | 5 ++ packages/overlay/src/components/Debugger.tsx | 4 +- packages/overlay/src/components/SidePanel.tsx | 36 +++++++++ packages/overlay/src/components/Tabs.tsx | 4 +- packages/overlay/src/index.css | 2 +- .../src/integrations/console/console-tab.tsx | 2 +- .../sentry/components/EventDetails.tsx | 2 +- .../sentry/components/EventList.tsx | 45 +++++------ .../sentry/components/SdkList.tsx | 17 ++-- .../sentry/components/SpanDetails.tsx | 42 +++++----- .../sentry/components/SpanTree.tsx | 4 +- .../sentry/components/TraceDetails.tsx | 2 +- .../sentry/components/TraceList.tsx | 19 ++--- .../vite-inspect/vite-inspect.tsx | 2 +- packages/overlay/tailwind.config.js | 19 ----- packages/overlay/tailwind.config.ts | 15 ++++ pnpm-lock.yaml | 80 +++---------------- 18 files changed, 141 insertions(+), 160 deletions(-) create mode 100644 packages/overlay/src/components/CardList.tsx create mode 100644 packages/overlay/src/components/SidePanel.tsx delete mode 100644 packages/overlay/tailwind.config.js create mode 100644 packages/overlay/tailwind.config.ts diff --git a/packages/overlay/package.json b/packages/overlay/package.json index b1d05fa2..e476189f 100644 --- a/packages/overlay/package.json +++ b/packages/overlay/package.json @@ -41,7 +41,6 @@ "devDependencies": { "@sentry/types": "^7.77.0", "@spotlightjs/tsconfig": "workspace:*", - "@tailwindcss/forms": "^0.5.4", "@types/react": "^18.2.37", "@types/react-dom": "^18.2.15", "@typescript-eslint/eslint-plugin": "^6.0.0", diff --git a/packages/overlay/src/components/CardList.tsx b/packages/overlay/src/components/CardList.tsx new file mode 100644 index 00000000..1e3c3963 --- /dev/null +++ b/packages/overlay/src/components/CardList.tsx @@ -0,0 +1,5 @@ +import { ComponentPropsWithoutRef } from 'react'; + +export default function CardList(props: Omit, 'className'>) { + return
; +} diff --git a/packages/overlay/src/components/Debugger.tsx b/packages/overlay/src/components/Debugger.tsx index b9e113ca..8934aec0 100644 --- a/packages/overlay/src/components/Debugger.tsx +++ b/packages/overlay/src/components/Debugger.tsx @@ -34,7 +34,7 @@ export default function Debugger({ }} >
-
+

@@ -72,7 +72,7 @@ export default function Debugger({