Skip to content

Commit

Permalink
refactor(card): minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tarantilis committed Apr 15, 2022
1 parent e10e3d6 commit 3a880d7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/ui/Card/PrimaryCard.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ const GridTemplate = (args) => (
<Container>
<Grid>
{args.cards.map((card) => (
<Grid.Column mobile={12} tablet={6} computer={2}>
<Grid.Column mobile={12} tablet={6} computer={4}>
<Card fluid={card.fluid} className="primary">
{card.hasImage && (
<Image src={card.imgUrl} wrapped ui={false} alt="card image" />
Expand Down
6 changes: 3 additions & 3 deletions src/ui/Card/RoundedCard.stories.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { Card, Image, Grid, Container } from 'semantic-ui-react';
import { Card, Image, Container } from 'semantic-ui-react';

export default {
title: 'Components/Card/Rounded Card',
Expand Down Expand Up @@ -77,8 +77,8 @@ const AvatarTemplate = (args) => (
</Container>
);

export const Avatar = AvatarTemplate.bind({});
Avatar.args = {
export const Default = AvatarTemplate.bind({});
Default.args = {
avatarVariant: 'big',
src:
'static/media/src/addons/volto-eea-design-system/theme/themes/eea/assets/images/avatar.png',
Expand Down

0 comments on commit 3a880d7

Please sign in to comment.