react-crud-mobile 1.0.700 → 1.0.702
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/react-crud-mobile.cjs.development.js +7 -3
- package/dist/react-crud-mobile.cjs.development.js.map +1 -1
- package/dist/react-crud-mobile.cjs.production.min.js +1 -1
- package/dist/react-crud-mobile.cjs.production.min.js.map +1 -1
- package/dist/react-crud-mobile.esm.js +7 -3
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/core/UIButton.tsx +3 -2
- package/src/elements/core/UIList.tsx +1 -1
|
@@ -391,7 +391,6 @@ function UIButton(props) {
|
|
|
391
391
|
fontSize: 18
|
|
392
392
|
},
|
|
393
393
|
button: {
|
|
394
|
-
height: 50,
|
|
395
394
|
backgroundColor: color,
|
|
396
395
|
borderRadius: 24,
|
|
397
396
|
gap: 10,
|
|
@@ -410,7 +409,12 @@ function UIButton(props) {
|
|
|
410
409
|
var extra = {};
|
|
411
410
|
if (icon) {
|
|
412
411
|
extra.button = {
|
|
413
|
-
padding: 0
|
|
412
|
+
padding: 0,
|
|
413
|
+
height: 40
|
|
414
|
+
};
|
|
415
|
+
} else {
|
|
416
|
+
extra.button = {
|
|
417
|
+
height: 50
|
|
414
418
|
};
|
|
415
419
|
}
|
|
416
420
|
var buttonStyle = reactCrudUtils.Utils.call(function () {
|
|
@@ -814,7 +818,7 @@ function UIList(props) {
|
|
|
814
818
|
var scope = props.scope;
|
|
815
819
|
var crud = scope.crud;
|
|
816
820
|
var original = scope.original;
|
|
817
|
-
var cols = reactCrudUtils.Utils.nvl(
|
|
821
|
+
var cols = reactCrudUtils.Utils.nvl(scope.getPart('cols', undefined, 1));
|
|
818
822
|
var items = reactCrudUtils.Utils.nvl(scope.getItems(), []);
|
|
819
823
|
var styles = (_repeat$list = {
|
|
820
824
|
repeat: stylesRepeat$1,
|