Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

tweak spacing

ameer24680ea57b2a2605
diff --git a/apps/desktop/src/components/ModeSelect.tsx b/apps/desktop/src/components/ModeSelect.tsx
index 080e8226a..0af790cb8 100644
--- a/apps/desktop/src/components/ModeSelect.tsx
+++ b/apps/desktop/src/components/ModeSelect.tsx
@@ -85,21 +85,19 @@ const ModeSelect = () => {
];
return (
- <div class="p-6">
- <div class="grid grid-cols-2 gap-6 text-center">
- {modeOptions.map((option) => (
- <ModeOption
- mode={option.mode}
- title={option.title}
- description={option.description}
- darkimg={option.darkimg}
- lightimg={option.lightimg}
- icon={option.icon}
- isSelected={options.data?.mode === option.mode}
- onSelect={handleModeChange}
- />
- ))}
- </div>
+ <div class="grid grid-cols-2 gap-8 text-center">
+ {modeOptions.map((option) => (
+ <ModeOption
+ mode={option.mode}
+ title={option.title}
+ description={option.description}
+ darkimg={option.darkimg}
+ lightimg={option.lightimg}
+ icon={option.icon}
+ isSelected={options.data?.mode === option.mode}
+ onSelect={handleModeChange}
+ />
+ ))}
</div>
);
};
diff --git a/apps/desktop/src/routes/mode-select.tsx b/apps/desktop/src/routes/mode-select.tsx
index d0e281260..08301818c 100644
--- a/apps/desktop/src/routes/mode-select.tsx
+++ b/apps/desktop/src/routes/mode-select.tsx
@@ -6,8 +6,8 @@ const ModeSelectWindow = () => {
data-tauri-drag-region
class="flex relative justify-center items-center p-4 min-h-screen bg-gray-50"
>
- <div class="relative z-10 w-full max-w-3xl">
- <h2 class="mb-5 text-[24px] font-semibold text-center text-gray-500">
+ <div class="relative z-10 space-y-10 w-full max-w-3xl">
+ <h2 class="text-[24px] font-semibold text-center text-gray-500">
Select your recording mode
</h2>
<ModeSelect />