Skip to content

Commit e33b4fc

Browse files
committed
wip
1 parent e19b92c commit e33b4fc

File tree

1 file changed

+17
-11
lines changed

1 file changed

+17
-11
lines changed

www/src/modules/demos/components/components-overview.tsx

+17-11
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ export const MobileComponentsOverview = ({
176176
const { variants } = useLocalVariants();
177177
const globalVariant = variants.global;
178178
return (
179-
<div className={cn("grid grid-cols-10 gap-4 p-4", className)}>
179+
<div className={cn("grid grid-cols-10 gap-3 p-4", className)}>
180180
<div className="col-span-10">
181181
<Slider
182182
label="Progress"
@@ -188,25 +188,31 @@ export const MobileComponentsOverview = ({
188188
</div>
189189
<div className="min-[35rem]:col-span-3 col-span-10 row-span-2 flex justify-between">
190190
<RadioGroup>
191-
<Radio value="email">Email</Radio>
192-
<Radio value="phone">Phone (SMS)</Radio>
191+
<Radio value="email">
192+
<span className="truncate">Email</span>
193+
</Radio>
194+
<Radio value="phone">
195+
<span className="truncate">Phone (SMS)</span>
196+
</Radio>
193197
<Radio value="notification">
194198
<span className="truncate">Push notification</span>
195199
</Radio>
196-
<Radio value="none">None</Radio>
200+
<Radio value="none" className="min-[35rem]:flex hidden">
201+
None
202+
</Radio>
197203
</RadioGroup>
198-
<div className="min-[35rem]:hidden flex flex-col items-end gap-2">
204+
<div className="min-[35rem]:hidden flex flex-col items-end gap-3">
205+
<Switch>
206+
<span className="truncate">Focus mode</span>
207+
</Switch>
199208
<Avatar
200209
src="https://github.com/mehdibha.png"
201210
alt="@mehdibha"
202211
fallback="M"
203212
/>
204-
<Switch>
205-
<span className="truncate">Focus mode</span>
206-
</Switch>
207213
</div>
208214
</div>
209-
<div className="min-[35rem]:col-span-7 col-span-10 flex flex-wrap items-center justify-end gap-2">
215+
<div className="min-[35rem]:col-span-7 col-span-10 flex flex-wrap items-center justify-end gap-3">
210216
<Button variant={globalVariant}>Button</Button>
211217
<ToggleButton aria-label="pin" variant={globalVariant}>
212218
<PinIcon />
@@ -230,7 +236,7 @@ export const MobileComponentsOverview = ({
230236
<SelectItem>ElevenLabs</SelectItem>
231237
</Select>
232238
</div>
233-
<div className="min-[35rem]:flex col-span-7 hidden items-center justify-end gap-2">
239+
<div className="min-[35rem]:flex col-span-7 hidden items-center justify-end gap-3">
234240
<Avatar
235241
src="https://github.com/mehdibha.png"
236242
alt="@mehdibha"
@@ -243,7 +249,7 @@ export const MobileComponentsOverview = ({
243249
<div className="col-span-10">
244250
<DatePicker className="w-full" />
245251
</div>
246-
<div className="col-span-10 flex items-center gap-2 flex-wrap">
252+
<div className="col-span-10 flex flex-wrap items-center gap-3">
247253
<FileTriggerDemo />
248254
<ColorPicker defaultValue="#5100FF" className="flex-1" />
249255
<TimeField aria-label="Event time" className="flex-1" />

0 commit comments

Comments
 (0)