diff --git a/src/components/Card/Card.tsx b/src/components/Card/Card.tsx index 7c46c8284..195423f7a 100644 --- a/src/components/Card/Card.tsx +++ b/src/components/Card/Card.tsx @@ -67,9 +67,9 @@ export const Card = ({ elevation === 'raised' && styles['card--raised'], ); return ( -
+
{children} -
+ ); }; diff --git a/src/components/CardFooter/CardFooter.tsx b/src/components/CardFooter/CardFooter.tsx index 2c4783c34..08a61817f 100644 --- a/src/components/CardFooter/CardFooter.tsx +++ b/src/components/CardFooter/CardFooter.tsx @@ -26,8 +26,8 @@ export interface Props { export const CardFooter = ({ children, className, ...other }: Props) => { const componentClassName = clsx(styles['card__footer'], className, {}); return ( -
+
+ ); }; diff --git a/src/components/DragDrop/__snapshots__/DragDrop.test.tsx.snap b/src/components/DragDrop/__snapshots__/DragDrop.test.tsx.snap index ab2846037..78fbea884 100644 --- a/src/components/DragDrop/__snapshots__/DragDrop.test.tsx.snap +++ b/src/components/DragDrop/__snapshots__/DragDrop.test.tsx.snap @@ -62,7 +62,7 @@ exports[` Default story renders snapshot 1`] = ` /> -
Default story renders snapshot 1`] = ` > Card 1
-
+
  • Default story renders snapshot 1`] = ` /> -
    Default story renders snapshot 1`] = ` > Card 2
    -
    +
  • Default story renders snapshot 1`] = ` /> -
    Default story renders snapshot 1`] = ` > Card 3
    -
    +
  • Default story renders snapshot 1`] = ` /> -
    Default story renders snapshot 1`] = ` > Card 4
    -
    +
  • Default story renders snapshot 1`] = ` /> -
    Default story renders snapshot 1`] = ` > Card 5
    -
    +
  • @@ -455,7 +455,7 @@ exports[` HoveredHandle story renders snapshot 1`] = ` /> -
    HoveredHandle story renders snapshot 1`] = ` > Card 1
    -
    +
  • HoveredHandle story renders snapshot 1`] = ` /> -
    HoveredHandle story renders snapshot 1`] = ` > Card 2
    -
    +
  • HoveredHandle story renders snapshot 1`] = ` /> -
    HoveredHandle story renders snapshot 1`] = ` > Card 3
    -
    +
  • HoveredHandle story renders snapshot 1`] = ` /> -
    HoveredHandle story renders snapshot 1`] = ` > Card 4
    -
    +
  • HoveredHandle story renders snapshot 1`] = ` /> -
    HoveredHandle story renders snapshot 1`] = ` > Card 5
    -
    +