react-crud-mobile 1.3.326 → 1.3.328

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.
@@ -827,7 +827,16 @@ function UIInput(props) {
827
827
  };
828
828
  //v4
829
829
  var defs = _extends({}, reactCrudUtils.Utils.nvl(decode[type], {}), element.inputProps);
830
- var inputStyle = _extends({}, style('input'), style(type));
830
+ var inputStyle = reactCrudUtils.Utils.call(function () {
831
+ var size = element.size;
832
+ var css = {};
833
+ if (size === 'small') {
834
+ css.height = 33;
835
+ css.fontSize = 12;
836
+ }
837
+ css = _extends({}, style(type), css, style('input'));
838
+ return css;
839
+ });
831
840
  if (defs.autoHeight) {
832
841
  defs.onContentSizeChange = function (event) {
833
842
  setHeight(event.nativeEvent.contentSize.height);