Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

correct text color (#714)

Ameer Al Ashhab345a2cdfa861
diff --git a/apps/web/app/(org)/dashboard/caps/components/EmptyCapState.tsx b/apps/web/app/(org)/dashboard/caps/components/EmptyCapState.tsx
index 7441bb127..927a5faf1 100644
--- a/apps/web/app/(org)/dashboard/caps/components/EmptyCapState.tsx
+++ b/apps/web/app/(org)/dashboard/caps/components/EmptyCapState.tsx
@@ -37,7 +37,7 @@ export const EmptyCapState: React.FC<EmptyCapStateProps> = ({ userName }) => {
variant="primary"
>
<FontAwesomeIcon
- className="text-white size-3.5"
+ className="size-3.5"
icon={faDownload}
/>
Download Cap
diff --git a/apps/web/components/FileInput.tsx b/apps/web/components/FileInput.tsx
index df07a15fa..d3f3e0498 100644
--- a/apps/web/components/FileInput.tsx
+++ b/apps/web/components/FileInput.tsx
@@ -176,7 +176,7 @@ export const FileInput: React.FC<FileInputProps> = ({
return (
<div className={`relative ${className}`}>
- <div className="h-[46.5px]">
+ <div className="h-[44px]">
{" "}
{/* Fixed height container to prevent resizing */}
{selectedFile || previewUrl ? (
@@ -242,16 +242,16 @@ export const FileInput: React.FC<FileInputProps> = ({
>
{isLoading ? (
<FontAwesomeIcon
- className="animate-spin text-gray-10 size-5"
+ className="animate-spin text-gray-10 size-4"
icon={faSpinner}
/>
) : (
<FontAwesomeIcon
- className="text-gray-10 size-5"
+ className="text-gray-10 size-4"
icon={faCloudUpload}
/>
)}
- <p className="text-sm truncate text-gray-11">
+ <p className="text-[13px] truncate text-gray-11">
{isLoading
? "Uploading..."
: "Choose a file or drag & drop it here"}