@gem-sdk/core 2.6.0-staging.14 → 2.6.0-staging.18
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/helpers/size.js
CHANGED
|
@@ -114,8 +114,8 @@ const getFlexGrowClassByShapeGlobalSize = (shapeByLayout)=>{
|
|
|
114
114
|
const shapeByDevice = getResonsiveValue.getResponsiveValueByScreen(shapeByLayout, device);
|
|
115
115
|
const height = shapeByDevice?.height;
|
|
116
116
|
const shapeValue = shapeByDevice?.shapeValue;
|
|
117
|
-
const classFlex1 = device === 'desktop' ? 'gp-flex-1' : `${device}:gp-flex-1`;
|
|
118
|
-
const classFlexNone = device === 'desktop' ? 'gp-flex-none' : `${device}:gp-flex-none`;
|
|
117
|
+
const classFlex1 = device === 'desktop' ? 'gp-flex-1 gp-h-full' : `${device}:gp-flex-1 ${device}:gp-h-full`;
|
|
118
|
+
const classFlexNone = device === 'desktop' ? 'gp-flex-none gp-h-auto' : `${device}:gp-flex-none ${device}:gp-h-auto`;
|
|
119
119
|
result = {
|
|
120
120
|
...result,
|
|
121
121
|
[classFlex1]: height === '100%' && !shapeValue,
|
package/dist/esm/helpers/size.js
CHANGED
|
@@ -112,8 +112,8 @@ const getFlexGrowClassByShapeGlobalSize = (shapeByLayout)=>{
|
|
|
112
112
|
const shapeByDevice = getResponsiveValueByScreen(shapeByLayout, device);
|
|
113
113
|
const height = shapeByDevice?.height;
|
|
114
114
|
const shapeValue = shapeByDevice?.shapeValue;
|
|
115
|
-
const classFlex1 = device === 'desktop' ? 'gp-flex-1' : `${device}:gp-flex-1`;
|
|
116
|
-
const classFlexNone = device === 'desktop' ? 'gp-flex-none' : `${device}:gp-flex-none`;
|
|
115
|
+
const classFlex1 = device === 'desktop' ? 'gp-flex-1 gp-h-full' : `${device}:gp-flex-1 ${device}:gp-h-full`;
|
|
116
|
+
const classFlexNone = device === 'desktop' ? 'gp-flex-none gp-h-auto' : `${device}:gp-flex-none ${device}:gp-h-auto`;
|
|
117
117
|
result = {
|
|
118
118
|
...result,
|
|
119
119
|
[classFlex1]: height === '100%' && !shapeValue,
|