From 1a705ff244e70804722c0fb424b3c66642454d4a Mon Sep 17 00:00:00 2001 From: Gregory Schier Date: Sun, 17 May 2026 08:07:05 -0700 Subject: [PATCH] Make setting rows responsive --- .../components/core/SettingRow.tsx | 29 +++++++++++++------ 1 file changed, 20 insertions(+), 9 deletions(-) diff --git a/apps/yaak-client/components/core/SettingRow.tsx b/apps/yaak-client/components/core/SettingRow.tsx index eb24556c..afc3e524 100644 --- a/apps/yaak-client/components/core/SettingRow.tsx +++ b/apps/yaak-client/components/core/SettingRow.tsx @@ -67,23 +67,34 @@ export function SettingRow({ aria-disabled={disabled || undefined} className={classNames( className, - "grid grid-cols-[minmax(0,1fr)_auto] items-center gap-6 border-b border-border-subtle py-4", + "@container border-b border-border-subtle py-4", disabled && "opacity-disabled", )} > -
-
{title}
- {description != null && ( -
{description}
+
-
- {children} + > +
+
{title}
+ {description != null && ( +
{description}
+ )} +
+
+ {children} +
); } - export function SettingValue({ actions, className,