Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
Adjust button heights and paddings for UI consistency
Richie McIlroy678692bd92ca
diff --git a/apps/desktop/src/routes/(window-chrome)/new-main/CameraSelect.tsx b/apps/desktop/src/routes/(window-chrome)/new-main/CameraSelect.tsxindex 88f76d44c..77ff95b38 100644--- a/apps/desktop/src/routes/(window-chrome)/new-main/CameraSelect.tsx+++ b/apps/desktop/src/routes/(window-chrome)/new-main/CameraSelect.tsx@@ -20,7 +20,7 @@ export default function CameraSelect(props: {<CameraSelectBase{...props}PillComponent={InfoPill}- class="flex flex-row gap-2 items-center px-2 w-full h-10 rounded-lg transition-colors cursor-default disabled:opacity-70 bg-gray-3 disabled:text-gray-11 KSelect"+ class="flex flex-row gap-2 items-center px-2 w-full h-[42px] rounded-lg transition-colors cursor-default disabled:opacity-70 bg-gray-3 disabled:text-gray-11 KSelect"iconClass="text-gray-10 size-4"/>);diff --git a/apps/desktop/src/routes/(window-chrome)/new-main/MicrophoneSelect.tsx b/apps/desktop/src/routes/(window-chrome)/new-main/MicrophoneSelect.tsxindex 38470ab0e..34c402255 100644--- a/apps/desktop/src/routes/(window-chrome)/new-main/MicrophoneSelect.tsx+++ b/apps/desktop/src/routes/(window-chrome)/new-main/MicrophoneSelect.tsx@@ -27,7 +27,7 @@ export default function MicrophoneSelect(props: {return (<MicrophoneSelectBase{...props}- class="flex overflow-hidden relative z-10 flex-row gap-2 items-center px-2 w-full h-10 rounded-lg transition-colors cursor-default disabled:opacity-70 bg-gray-3 disabled:text-gray-11 KSelect"+ class="flex overflow-hidden relative z-10 flex-row gap-2 items-center px-2 w-full h-[42px] rounded-lg transition-colors cursor-default disabled:opacity-70 bg-gray-3 disabled:text-gray-11 KSelect"levelIndicatorClass="bg-blue-7"iconClass="text-gray-10 size-4"PillComponent={InfoPill}diff --git a/apps/desktop/src/routes/(window-chrome)/new-main/SystemAudio.tsx b/apps/desktop/src/routes/(window-chrome)/new-main/SystemAudio.tsxindex 78f64e53a..33488a0a2 100644--- a/apps/desktop/src/routes/(window-chrome)/new-main/SystemAudio.tsx+++ b/apps/desktop/src/routes/(window-chrome)/new-main/SystemAudio.tsx@@ -12,7 +12,7 @@ import InfoPill from "./InfoPill";export default function SystemAudio() {return (<SystemAudioToggleRoot- class="flex flex-row gap-2 items-center px-2 w-full h-10 rounded-lg transition-colors cursor-default disabled:opacity-70 bg-gray-3 disabled:text-gray-11 KSelect"+ class="flex flex-row gap-2 items-center px-2 w-full h-[42px] rounded-lg transition-colors cursor-default disabled:opacity-70 bg-gray-3 disabled:text-gray-11 KSelect"PillComponent={InfoPill}icon={<IconPhMonitorBold class="text-gray-10 size-4" />}/>diff --git a/apps/desktop/src/routes/(window-chrome)/new-main/TargetDropdownButton.tsx b/apps/desktop/src/routes/(window-chrome)/new-main/TargetDropdownButton.tsxindex ca19538a5..5865e5c86 100644--- a/apps/desktop/src/routes/(window-chrome)/new-main/TargetDropdownButton.tsx+++ b/apps/desktop/src/routes/(window-chrome)/new-main/TargetDropdownButton.tsx@@ -27,7 +27,7 @@ export default function TargetDropdownButton<aria-expanded={local.expanded ? "true" : "false"}data-expanded={local.expanded ? "true" : "false"}class={cx(- "flex h-[4rem] w-5 shrink-0 items-center justify-center rounded-lg bg-gray-4 text-gray-12 transition-colors duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-9 focus-visible:ring-offset-2 focus-visible:ring-offset-gray-1 hover:bg-gray-5",+ "flex w-5 shrink-0 items-center justify-center rounded-lg bg-gray-4 text-gray-12 transition-colors duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-9 focus-visible:ring-offset-2 focus-visible:ring-offset-gray-1 hover:bg-gray-5",local.expanded && "bg-gray-5",local.disabled && "pointer-events-none opacity-60",local.class,diff --git a/apps/desktop/src/routes/(window-chrome)/new-main/TargetTypeButton.tsx b/apps/desktop/src/routes/(window-chrome)/new-main/TargetTypeButton.tsxindex 6664e1e40..a3b88f2bc 100644--- a/apps/desktop/src/routes/(window-chrome)/new-main/TargetTypeButton.tsx+++ b/apps/desktop/src/routes/(window-chrome)/new-main/TargetTypeButton.tsx@@ -24,7 +24,7 @@ function TargetTypeButton(props: TargetTypeButtonProps) {disabled={local.disabled}aria-pressed={local.selected ? "true" : "false"}class={cx(- "flex flex-1 flex-col items-center justify-end gap-2 rounded-lg bg-gray-3 py-1.5 text-center transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-9 focus-visible:ring-offset-2 focus-visible:ring-offset-gray-1",+ "flex flex-1 flex-col items-center justify-end gap-2 rounded-lg bg-gray-3 py-2.5 text-center transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-9 focus-visible:ring-offset-2 focus-visible:ring-offset-gray-1",local.selected ? "text-gray-12" : "text-gray-12 hover:bg-gray-4",local.disabled && "pointer-events-none opacity-60",local.class,