Skip to content

Job application tracker and AI-powered job search assistant. Helps job seekers manage their search journey with AI resume review, job matching, task logging, and application analytics, all while keeping your data private.

style: replace utilities removed in Tailwind v4

Khuram Niazda5c99d74d73
diff --git a/src/components/activities/ActivityBanner.tsx b/src/components/activities/ActivityBanner.tsx
index 103a458..f5fc9a4 100644
--- a/src/components/activities/ActivityBanner.tsx
+++ b/src/components/activities/ActivityBanner.tsx
@@ -42,9 +42,9 @@ export function ActivityBanner({
className,
)}
>
- <div className="flex-shrink-0">{variantIcons[variant]}</div>
+ <div className="shrink-0">{variantIcons[variant]}</div>
<div className="flex-1 min-w-0 font-medium truncate">{message}</div>
- <span className="flex-shrink-0 whitespace-nowrap">
+ <span className="shrink-0 whitespace-nowrap">
{formatElapsedTime(elapsedTime)}
</span>
{
@@ -52,7 +52,7 @@ export function ActivityBanner({
title="Stop Activity"
type="button"
className={cn(
- "flex-shrink-0 rounded-lg p-1.5 inline-flex items-center justify-center hover:bg-opacity-10 hover:bg-black focus:outline-hidden focus:ring-2 focus:ring-offset-2",
+ "shrink-0 rounded-lg p-1.5 inline-flex items-center justify-center hover:bg-black/10 focus:outline-hidden focus:ring-2 focus:ring-offset-2",
{
"focus:ring-green-500": variant === "success",
"focus:ring-yellow-500": variant === "warning",
diff --git a/src/components/automations/LogsTab.tsx b/src/components/automations/LogsTab.tsx
index 99f86db..6bb4fb7 100644
--- a/src/components/automations/LogsTab.tsx
+++ b/src/components/automations/LogsTab.tsx
@@ -169,7 +169,7 @@ export function LogsTab({ logData, onClearLogs }: LogsTabProps) {
key={index}
className="flex gap-2 p-2 rounded-sm border hover:bg-muted/50"
>
- <div className="flex-shrink-0 pt-0.5">
+ <div className="shrink-0 pt-0.5">
{getLevelIcon(log.level)}
</div>
<div className="flex-1 min-w-0">
diff --git a/src/components/common/SlowResponseWarning.tsx b/src/components/common/SlowResponseWarning.tsx
index c32e091..08026b2 100644
--- a/src/components/common/SlowResponseWarning.tsx
+++ b/src/components/common/SlowResponseWarning.tsx
@@ -2,7 +2,7 @@ import { Clock } from "lucide-react";
export const SlowResponseWarning = () => (
<div className="flex items-center gap-2 text-amber-600 dark:text-amber-400 text-sm mt-3 px-3 py-2 bg-amber-50 dark:bg-amber-950/30 rounded-md border border-amber-200 dark:border-amber-800 animate-in fade-in duration-500">
- <Clock className="h-4 w-4 flex-shrink-0" />
+ <Clock className="h-4 w-4 shrink-0" />
<span>
The model is taking longer than usual. Either wait or try a different,
faster model in <span className="font-medium">Settings</span> for quicker
diff --git a/src/components/developer/DeveloperContainer.tsx b/src/components/developer/DeveloperContainer.tsx
index 3bcd0e4..c58b45d 100644
--- a/src/components/developer/DeveloperContainer.tsx
+++ b/src/components/developer/DeveloperContainer.tsx
@@ -30,9 +30,9 @@ function StatusBanner({ message }: { message: StatusMessage }) {
}`}
>
{message.type === "error" ? (
- <AlertCircle className="h-5 w-5 flex-shrink-0 mt-0.5" />
+ <AlertCircle className="h-5 w-5 shrink-0 mt-0.5" />
) : (
- <CheckCircle2 className="h-5 w-5 flex-shrink-0 mt-0.5" />
+ <CheckCircle2 className="h-5 w-5 shrink-0 mt-0.5" />
)}
<div className="flex-1">
<p className="font-semibold">
diff --git a/src/components/settings/AiSettings.tsx b/src/components/settings/AiSettings.tsx
index 9178779..fabbb58 100644
--- a/src/components/settings/AiSettings.tsx
+++ b/src/components/settings/AiSettings.tsx
@@ -282,7 +282,7 @@ function AiSettings() {
</Select>
{fetchError && (
<div className="flex items-center gap-1 text-red-600 text-sm mt-2">
- <XCircle className="h-4 w-4 flex-shrink-0" />
+ <XCircle className="h-4 w-4 shrink-0" />
<span>{fetchError}</span>
</div>
)}
@@ -291,7 +291,7 @@ function AiSettings() {
<Button
variant="outline"
size="sm"
- className="h-6 flex-shrink-0 text-muted-foreground"
+ className="h-6 shrink-0 text-muted-foreground"
onClick={retryConnection}
disabled={isLoadingModels}
>
@@ -299,7 +299,7 @@ function AiSettings() {
Retry
</Button>
<div className="flex items-center gap-1 text-red-600 text-sm">
- <XCircle className="h-4 w-4 flex-shrink-0" />
+ <XCircle className="h-4 w-4 shrink-0" />
<span>{connectionError}</span>
</div>
</div>
diff --git a/src/components/settings/ApiKeySettings.tsx b/src/components/settings/ApiKeySettings.tsx
index 4ff1225..dd22976 100644
--- a/src/components/settings/ApiKeySettings.tsx
+++ b/src/components/settings/ApiKeySettings.tsx
@@ -248,12 +248,12 @@ function ApiKeySettings() {
</div>
) : ollamaConnected === true ? (
<div className="flex items-center gap-1 text-green-600 text-sm">
- <CheckCircle className="h-3.5 w-3.5 flex-shrink-0" />
+ <CheckCircle className="h-3.5 w-3.5 shrink-0" />
<span>Ollama is running</span>
</div>
) : ollamaConnected === false ? (
<div className="flex items-center gap-1 text-red-600 text-sm">
- <XCircle className="h-3.5 w-3.5 flex-shrink-0" />
+ <XCircle className="h-3.5 w-3.5 shrink-0" />
<span>Ollama is not running</span>
</div>
) : null}