From 0ab23abb19c361296adf40875f7afbac9131c2ef Mon Sep 17 00:00:00 2001 From: Mathias Fredriksson Date: Thu, 4 Dec 2025 20:10:21 +0200 Subject: [PATCH] refactor(site): convert workspace batch delete dialog to Tailwind CSS (#20946) Converts from Emotion to Tailwind CSS, based on the tasks batch delete dialog implementation. Also propagates simplifications back to the tasks dialog: - Use `border-border` instead of hardcoded color variants - Use `max-h-48` instead of specific `max-h-[184px]` - Add cancel button to workspaces dialog Refs #20905 --- .../TasksPage/BatchDeleteConfirmation.tsx | 4 +- .../BatchDeleteConfirmation.tsx | 142 +++++------------- .../WorkspacesPage/WorkspacesPageView.tsx | 2 +- 3 files changed, 38 insertions(+), 110 deletions(-) diff --git a/site/src/pages/TasksPage/BatchDeleteConfirmation.tsx b/site/src/pages/TasksPage/BatchDeleteConfirmation.tsx index 825f98bfb4..f6b76b3b43 100644 --- a/site/src/pages/TasksPage/BatchDeleteConfirmation.tsx +++ b/site/src/pages/TasksPage/BatchDeleteConfirmation.tsx @@ -113,11 +113,11 @@ const Tasks: FC = ({ tasks }) => { return ( <> -