Skip to content

Commit

Permalink
update card stories and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Barsnes committed Jun 18, 2024
1 parent 8bc0837 commit 5fbc44e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/react/src/components/Card/Card.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Med `Card` kan du presentere informasjon på en strukturert og oversiktlig måte
**Vær oppmerksom på:**

- Kort bør ikke inneholde for mye informasjon som kan overvelde brukeren.
- Dersom kortet er en link med bilde, så skal **ikke** bildet være informativt, og `alt` attributtet skal være tomt.

<br />

Expand Down
4 changes: 2 additions & 2 deletions packages/react/src/components/Card/Card.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export const LinkCard: Story = (args) => (
<Card.Media>
<img
src={cat5}
alt='katt 1'
alt=''
/>
</Card.Media>
<Card.Header>
Expand Down Expand Up @@ -107,7 +107,7 @@ export const LinkCard: Story = (args) => (
<Card.Media>
<img
src={cat6}
alt='katt 2'
alt=''
/>
</Card.Media>
<Card.Header>
Expand Down

0 comments on commit 5fbc44e

Please sign in to comment.