Skip to content

Commit fd295d3

Browse files
committed
Update UI component heights and general settings header
1 parent d19f155 commit fd295d3

File tree

5 files changed

+6
-9
lines changed

5 files changed

+6
-9
lines changed

apps/desktop/src/routes/(window-chrome)/new-main/CameraSelect.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export default function CameraSelect(props: {
2020
<CameraSelectBase
2121
{...props}
2222
PillComponent={InfoPill}
23-
class="flex flex-row gap-2 items-center px-2 w-full h-9 rounded-lg transition-colors cursor-default disabled:opacity-70 bg-gray-3 disabled:text-gray-11 KSelect"
23+
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"
2424
iconClass="text-gray-10 size-4"
2525
/>
2626
);

apps/desktop/src/routes/(window-chrome)/new-main/MicrophoneSelect.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export default function MicrophoneSelect(props: {
2727
return (
2828
<MicrophoneSelectBase
2929
{...props}
30-
class="flex overflow-hidden relative z-10 flex-row gap-2 items-center px-2 w-full h-9 rounded-lg transition-colors cursor-default disabled:opacity-70 bg-gray-3 disabled:text-gray-11 KSelect"
30+
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"
3131
levelIndicatorClass="bg-blue-7"
3232
iconClass="text-gray-10 size-4"
3333
PillComponent={InfoPill}

apps/desktop/src/routes/(window-chrome)/new-main/SystemAudio.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import InfoPill from "./InfoPill";
1212
export default function SystemAudio() {
1313
return (
1414
<SystemAudioToggleRoot
15-
class="flex flex-row gap-2 items-center px-2 w-full h-9 rounded-lg transition-colors cursor-default disabled:opacity-70 bg-gray-3 disabled:text-gray-11 KSelect"
15+
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"
1616
PillComponent={InfoPill}
1717
icon={<IconPhMonitorBold class="text-gray-10 size-4" />}
1818
/>

apps/desktop/src/routes/(window-chrome)/new-main/TargetDropdownButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export default function TargetDropdownButton<
2727
aria-expanded={local.expanded ? "true" : "false"}
2828
data-expanded={local.expanded ? "true" : "false"}
2929
class={cx(
30-
"flex h-[3.75rem] 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",
30+
"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",
3131
local.expanded && "bg-gray-5",
3232
local.disabled && "pointer-events-none opacity-60",
3333
local.class,

apps/desktop/src/routes/(window-chrome)/settings/general.tsx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -152,11 +152,8 @@ function AppearanceSection(props: {
152152

153153
return (
154154
<div class="flex flex-col gap-4">
155-
<div class="flex flex-col pb-4 border-b border-gray-2">
156-
<h2 class="text-lg font-medium text-gray-12">General</h2>
157-
<p class="text-sm text-gray-10">
158-
General settings of your Cap application.
159-
</p>
155+
<div class="flex flex-col border-b border-gray-2">
156+
<h2 class="text-lg font-medium text-gray-12">General Settings</h2>
160157
</div>
161158
<div
162159
class="flex justify-start items-center text-gray-12"

0 commit comments

Comments
 (0)