@thecb/components 7.13.3-beta.13 → 7.13.3-beta.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecb/components",
3
- "version": "7.13.3-beta.13",
3
+ "version": "7.13.3-beta.15",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "typings": "dist/index.d.ts",
@@ -64,7 +64,7 @@ const Card = ({
64
64
  as={headerAs}
65
65
  ></CardHeader>
66
66
  )}
67
- <Stack>
67
+ <Stack direction="row">
68
68
  {Image && !imgSrc && (
69
69
  <Box
70
70
  minHeight={imgHeight}
@@ -87,15 +87,17 @@ const Card = ({
87
87
  alt={imgAltText}
88
88
  />
89
89
  )}
90
- {text && (
91
- <CardText
92
- padding={padding}
93
- titleText={titleText}
94
- text={text}
95
- titleVariant={titleVariant}
96
- />
97
- )}
98
- {children}
90
+ <div style={{ flexBasis: "100%" }}>
91
+ {text && (
92
+ <CardText
93
+ padding={padding}
94
+ titleText={titleText}
95
+ text={text}
96
+ titleVariant={titleVariant}
97
+ />
98
+ )}
99
+ {children}
100
+ </div>
99
101
  </Stack>
100
102
  </Stack>
101
103
  </Cover>