Skip to content

Commit 5f0f46a

Browse files
ROOS-263: Card Component padding default is changes from none to md (#1406)
1 parent 470955b commit 5f0f46a

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

.changeset/brown-bulldogs-press.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"@nl-rvo/css-card-experimental": patch
3+
"@nl-rvo/css-card": patch
4+
"@nl-rvo/component-library-react": patch
5+
---
6+
7+
Card Component padding default is changes from none to md

components/card-experimental/src/template.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export const CardExperimental: React.FC<ICardProps> & CardComponents = ({
3535
invertedColors = false,
3636
onClick,
3737
outline = false,
38-
padding = 'none',
38+
padding = 'md',
3939
children,
4040
}) => {
4141
// the card image component

components/card/src/defaultArgs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export const defaultArgs: ICardProps = {
1212
link: '',
1313
LinkComponent: undefined,
1414
outline: false,
15-
padding: 'none',
15+
padding: 'md',
1616
showLinkIndicator: true,
1717
title: '',
1818
};

0 commit comments

Comments
 (0)