umwd-components 0.1.77 → 0.1.78
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/dist/cjs/components/FleetSection.js +4 -2
- package/dist/cjs/components/StrapiImage.js +1 -1
- package/dist/esm/components/FleetSection.js +4 -2
- package/dist/esm/components/StrapiImage.js +1 -1
- package/package.json +1 -1
- package/src/components/FleetSection.tsx +6 -2
- package/src/components/StrapiImage.tsx +1 -1
|
@@ -49,7 +49,7 @@ function FleetSection(_ref) {
|
|
|
49
49
|
}), /*#__PURE__*/React.createElement(material.CardMedia, {
|
|
50
50
|
sx: {
|
|
51
51
|
p: 1,
|
|
52
|
-
|
|
52
|
+
flex: 1
|
|
53
53
|
}
|
|
54
54
|
}, /*#__PURE__*/React.createElement(material.Paper, {
|
|
55
55
|
sx: {
|
|
@@ -68,7 +68,9 @@ function FleetSection(_ref) {
|
|
|
68
68
|
width: airplane.floorplan.width,
|
|
69
69
|
height: airplane.floorplan.height,
|
|
70
70
|
style: {
|
|
71
|
-
objectFit: "contain"
|
|
71
|
+
objectFit: "contain",
|
|
72
|
+
width: "100%",
|
|
73
|
+
height: "100%"
|
|
72
74
|
}
|
|
73
75
|
}), /*#__PURE__*/React.createElement(material.Box, {
|
|
74
76
|
sx: {
|
|
@@ -47,7 +47,7 @@ function FleetSection(_ref) {
|
|
|
47
47
|
}), /*#__PURE__*/React.createElement(CardMedia, {
|
|
48
48
|
sx: {
|
|
49
49
|
p: 1,
|
|
50
|
-
|
|
50
|
+
flex: 1
|
|
51
51
|
}
|
|
52
52
|
}, /*#__PURE__*/React.createElement(Paper, {
|
|
53
53
|
sx: {
|
|
@@ -66,7 +66,9 @@ function FleetSection(_ref) {
|
|
|
66
66
|
width: airplane.floorplan.width,
|
|
67
67
|
height: airplane.floorplan.height,
|
|
68
68
|
style: {
|
|
69
|
-
objectFit: "contain"
|
|
69
|
+
objectFit: "contain",
|
|
70
|
+
width: "100%",
|
|
71
|
+
height: "100%"
|
|
70
72
|
}
|
|
71
73
|
}), /*#__PURE__*/React.createElement(Box, {
|
|
72
74
|
sx: {
|
package/package.json
CHANGED
|
@@ -76,7 +76,7 @@ export function FleetSection({ data }: { readonly data: FleetSectionProps }) {
|
|
|
76
76
|
<CardMedia
|
|
77
77
|
sx={{
|
|
78
78
|
p: 1,
|
|
79
|
-
|
|
79
|
+
flex: 1,
|
|
80
80
|
}}
|
|
81
81
|
>
|
|
82
82
|
<Paper
|
|
@@ -97,7 +97,11 @@ export function FleetSection({ data }: { readonly data: FleetSectionProps }) {
|
|
|
97
97
|
alt={airplane.floorplan.alternativeText}
|
|
98
98
|
width={airplane.floorplan.width}
|
|
99
99
|
height={airplane.floorplan.height}
|
|
100
|
-
style={{
|
|
100
|
+
style={{
|
|
101
|
+
objectFit: "contain",
|
|
102
|
+
width: "100%",
|
|
103
|
+
height: "100%",
|
|
104
|
+
}}
|
|
101
105
|
/>
|
|
102
106
|
)}
|
|
103
107
|
<Box
|