Skip to content

Commit ae225ea

Browse files
authored
Update cards.mdx
1 parent f73117d commit ae225ea

File tree

1 file changed

+4
-4
lines changed
  • fern/products/docs/pages/component-library/default-components

1 file changed

+4
-4
lines changed

fern/products/docs/pages/component-library/default-components/cards.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ Cards support displaying images alongside content. The image automatically resiz
8585
<Tab title="Card with image">
8686
<Card
8787
title="Product Overview"
88-
src="https://images.unsplash.com/photo-1517694712202-14dd9538aa97?w=400"
88+
src="https://images.unsplash.com/photo-1517694712202-14dd9538aa97"
8989
imagePosition="left"
9090
>
9191
Display an image alongside your card content. The image automatically scales to fit the card.
@@ -95,7 +95,7 @@ Cards support displaying images alongside content. The image automatically resiz
9595
```jsx
9696
<Card
9797
title="Product Overview"
98-
src="https://images.unsplash.com/photo-1517694712202-14dd9538aa97?w=400"
98+
src="https://images.unsplash.com/photo-1517694712202-14dd9538aa97"
9999
imagePosition="left"
100100
>
101101
Display an image alongside your card content. The image automatically scales to fit the card.
@@ -108,7 +108,7 @@ Cards support displaying images alongside content. The image automatically resiz
108108
<Tab title="Card with image on top">
109109
<Card
110110
title="Getting Started"
111-
src="https://images.unsplash.com/photo-1498050108023-c5249f4df085?w=400"
111+
src="https://images.unsplash.com/photo-1498050108023-c5249f4df085"
112112
imagePosition="top"
113113
>
114114
Position the image at the top of the card for a banner-style layout.
@@ -118,7 +118,7 @@ Cards support displaying images alongside content. The image automatically resiz
118118
```jsx
119119
<Card
120120
title="Getting Started"
121-
src="https://images.unsplash.com/photo-1498050108023-c5249f4df085?w=400"
121+
src="https://images.unsplash.com/photo-1498050108023-c5249f4df085"
122122
imagePosition="top"
123123
>
124124
Position the image at the top of the card for a banner-style layout.

0 commit comments

Comments
 (0)