Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: "Displays content within a desired ratio."
import { AspectRatio } from '@/registry/aspect-ratio/aspect-ratio'

<Preview>
<div className="w-[450px]">
<div className="w-full max-w-[450px]">
<AspectRatio ratio={16 / 9} className="bg-muted rounded-lg overflow-hidden">
<img
src="https://images.unsplash.com/photo-1588345921523-c2dcdb7f1dcd?w=800&dpr=2&q=80"
Expand Down
2 changes: 1 addition & 1 deletion apps/apollo-vertex/content/docs/components/carousel.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: "A carousel with motion and swipe built using Embla."
import { Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious } from '@/registry/carousel/carousel'
import { Card, CardContent } from '@/registry/card/card'

<Preview className="flex justify-center">
<Preview className="flex justify-center px-14">
<Carousel className="w-full max-w-xs">
<CarouselContent>
{[1, 2, 3, 4, 5].map((num) => (
Expand Down
2 changes: 1 addition & 1 deletion apps/apollo-vertex/content/docs/components/tabs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { Input } from '@/registry/input/input'
import { Label } from '@/registry/label/label'

<Preview>
<Tabs defaultValue="account" className="w-[400px]">
<Tabs defaultValue="account" className="w-full max-w-[400px]">
<TabsList className="grid w-full grid-cols-2">
<TabsTrigger value="account">Account</TabsTrigger>
<TabsTrigger value="password">Password</TabsTrigger>
Expand Down
Loading