Skip to content

Commit f82f6f8

Browse files
authored
Merge pull request #390 from puppetlabs/tasks/card-fixed-size-examples
Use min-width and min-height in Card examples
2 parents b2bda91 + a89ccad commit f82f6f8

File tree

1 file changed

+3
-3
lines changed
  • packages/react-components/source/react/library/card

1 file changed

+3
-3
lines changed

packages/react-components/source/react/library/card/Card.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import Text from '../text';
1010

1111
const cardExampleStyle = {
1212
width: 150,
13-
height: 150,
13+
minHeight: 100,
1414
alignItems: 'center',
1515
justifyContent: 'center',
1616
marginRight: 12,
@@ -40,7 +40,7 @@ import Text from '../text';
4040

4141
const cardExampleStyle = {
4242
width: 150,
43-
height: 150,
43+
minHeight: 100,
4444
alignItems: 'center',
4545
justifyContent: 'center',
4646
marginRight: 12,
@@ -75,7 +75,7 @@ initialState = {
7575

7676
const cardExampleStyle = {
7777
width: 150,
78-
height: 150,
78+
minHeight: 100,
7979
alignItems: 'center',
8080
justifyContent: 'center',
8181
marginRight: 12,

0 commit comments

Comments
 (0)