sourcewindow fix spacing

This commit is contained in:
Siddharth
2025-10-15 12:50:31 -07:00
parent a578e659e6
commit 310bd40593
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -318,7 +318,7 @@ async function cleanupOldRecordings() {
try {
const files = await fs.readdir(RECORDINGS_DIR);
const now = Date.now();
const maxAge = 7 * 24 * 60 * 60 * 1e3;
const maxAge = 1 * 24 * 60 * 60 * 1e3;
for (const file of files) {
const filePath = path.join(RECORDINGS_DIR, file);
const stats = await fs.stat(filePath);
+2 -1
View File
@@ -96,7 +96,7 @@ export function SourceSelector() {
{screenSources.map((source) => (
<Card
key={source.id}
className={`cursor-pointer transition-all hover:shadow-lg h-fit ${
className={`cursor-pointer transition-all hover:shadow-lg h-fit scale-90 p-2 ${
selectedSource?.id === source.id
? 'ring-2 ring-gray-700 bg-gray-50'
: 'hover:ring-1 hover:ring-gray-300 bg-white border border-gray-200'
@@ -139,6 +139,7 @@ export function SourceSelector() {
? 'ring-2 ring-gray-700 bg-gray-50'
: 'hover:ring-1 hover:ring-gray-300 bg-white border border-gray-200'
}`}
style={{ transform: 'scale(0.9)', margin: '8px' }}
onClick={() => handleSourceSelect(source)}
>
<div className="p-3">