From ea9719be5117f7375e62087725caa7b99f81fc82 Mon Sep 17 00:00:00 2001 From: danidfra Date: Wed, 6 Nov 2024 16:04:05 -0300 Subject: [PATCH] Remove unused or non-existent class names and change 'status' to custom Tailwind --- src/components/status.tsx | 7 ++----- .../placeholder/components/placeholder-card.tsx | 2 +- .../components/scheduled-status.tsx | 4 ++-- src/features/ui/components/pending-status.tsx | 2 +- src/styles/tailwind.css | 13 +++++++++++++ tailwind.config.ts | 5 +++++ 6 files changed, 24 insertions(+), 9 deletions(-) diff --git a/src/components/status.tsx b/src/components/status.tsx index d9152bb66..bbdb504e4 100644 --- a/src/components/status.tsx +++ b/src/components/status.tsx @@ -412,11 +412,8 @@ const Status: React.FC = (props) => { > diff --git a/src/features/placeholder/components/placeholder-card.tsx b/src/features/placeholder/components/placeholder-card.tsx index 5e18ecf34..4e5130d57 100644 --- a/src/features/placeholder/components/placeholder-card.tsx +++ b/src/features/placeholder/components/placeholder-card.tsx @@ -5,7 +5,7 @@ import { randomIntFromInterval, generateText } from '../utils'; /** Fake link preview to display while data is loading. */ const PlaceholderCard: React.FC = () => ( -
diff --git a/src/features/scheduled-statuses/components/scheduled-status.tsx b/src/features/scheduled-statuses/components/scheduled-status.tsx index 8fb1de473..83f13f58f 100644 --- a/src/features/scheduled-statuses/components/scheduled-status.tsx +++ b/src/features/scheduled-statuses/components/scheduled-status.tsx @@ -31,8 +31,8 @@ const ScheduledStatus: React.FC = ({ statusId, ...other }) => const account = status.account; return ( -
-
+
+
= ({ idempotencyKey, className, mu