umwd-components 0.1.154 → 0.1.155

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.
@@ -71,7 +71,8 @@ function FleetSection(_ref) {
71
71
  display: "grid",
72
72
  alignItems: "center",
73
73
  justifyContent: "center",
74
- height: "100%"
74
+ height: "100%",
75
+ position: "relative"
75
76
  },
76
77
  variant: "outlined"
77
78
  }, airplane.floorplan !== null && /*#__PURE__*/React.createElement(StrapiImage.StrapiImage, {
@@ -81,13 +82,14 @@ function FleetSection(_ref) {
81
82
  height: airplane.floorplan.height,
82
83
  style: {
83
84
  objectFit: "contain",
84
- width: "100%"
85
+ width: "100%",
86
+ paddingBottom: "20px"
85
87
  }
86
88
  }), airplane.cabinHeight && airplane.cabinWidth && airplane.cabinLength && /*#__PURE__*/React.createElement(material.Box, {
87
89
  sx: {
88
90
  position: "absolute",
89
- right: "1rem",
90
- bottom: "1rem"
91
+ right: ".5rem",
92
+ bottom: ".5rem"
91
93
  }
92
94
  }, /*#__PURE__*/React.createElement(material.Typography, {
93
95
  variant: "body2",
@@ -69,7 +69,8 @@ function FleetSection(_ref) {
69
69
  display: "grid",
70
70
  alignItems: "center",
71
71
  justifyContent: "center",
72
- height: "100%"
72
+ height: "100%",
73
+ position: "relative"
73
74
  },
74
75
  variant: "outlined"
75
76
  }, airplane.floorplan !== null && /*#__PURE__*/React__default.createElement(StrapiImage, {
@@ -79,13 +80,14 @@ function FleetSection(_ref) {
79
80
  height: airplane.floorplan.height,
80
81
  style: {
81
82
  objectFit: "contain",
82
- width: "100%"
83
+ width: "100%",
84
+ paddingBottom: "20px"
83
85
  }
84
86
  }), airplane.cabinHeight && airplane.cabinWidth && airplane.cabinLength && /*#__PURE__*/React__default.createElement(Box, {
85
87
  sx: {
86
88
  position: "absolute",
87
- right: "1rem",
88
- bottom: "1rem"
89
+ right: ".5rem",
90
+ bottom: ".5rem"
89
91
  }
90
92
  }, /*#__PURE__*/React__default.createElement(Typography, {
91
93
  variant: "body2",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "umwd-components",
3
- "version": "0.1.154",
3
+ "version": "0.1.155",
4
4
  "description": "UMWD Component library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -105,6 +105,7 @@ export function FleetSection({ data }: { readonly data: FleetSectionProps }) {
105
105
  alignItems: "center",
106
106
  justifyContent: "center",
107
107
  height: "100%",
108
+ position: "relative",
108
109
  }}
109
110
  variant="outlined"
110
111
  >
@@ -117,6 +118,7 @@ export function FleetSection({ data }: { readonly data: FleetSectionProps }) {
117
118
  style={{
118
119
  objectFit: "contain",
119
120
  width: "100%",
121
+ paddingBottom: "20px",
120
122
  }}
121
123
  />
122
124
  )}
@@ -126,8 +128,8 @@ export function FleetSection({ data }: { readonly data: FleetSectionProps }) {
126
128
  <Box
127
129
  sx={{
128
130
  position: "absolute",
129
- right: "1rem",
130
- bottom: "1rem",
131
+ right: ".5rem",
132
+ bottom: ".5rem",
131
133
  }}
132
134
  >
133
135
  <Typography