Skip to content

Commit bd46eec

Browse files
authored
Use min-width and min-height in Card examples
1 parent 84cf9ca commit bd46eec

File tree

1 file changed

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

1 file changed

+6
-6
lines changed

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

+6-6
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import Heading from '../heading';
99
import Text from '../text';
1010

1111
const cardExampleStyle = {
12-
width: 150,
13-
height: 150,
12+
minWidth: 150,
13+
minHeight: 100,
1414
alignItems: 'center',
1515
justifyContent: 'center',
1616
marginRight: 12,
@@ -39,8 +39,8 @@ import Heading from '../heading';
3939
import Text from '../text';
4040

4141
const cardExampleStyle = {
42-
width: 150,
43-
height: 150,
42+
minWidth: 150,
43+
minHeight: 100,
4444
alignItems: 'center',
4545
justifyContent: 'center',
4646
marginRight: 12,
@@ -74,8 +74,8 @@ initialState = {
7474
};
7575

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

0 commit comments

Comments
 (0)