ps-toolkit-ui 1.18.52 → 1.18.53

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.
@@ -3961,7 +3961,7 @@
3961
3961
  this.table.searchForm.class = (this.table.searchForm.class ? this.table.searchForm.class : '') + (this.table.expertSearch ? '' : ' p-0');
3962
3962
  if (this.table.expertSearch) {
3963
3963
  var s = new InputClass(this.table.environment, this.table.l, 'Search', 'fad fa-magnifying-glass', exports.InputType.Submit, 'blue h-30');
3964
- s.style = { top: '20px', left: '5px', position: 'absolute', width: '50%', padding: '0 15px' };
3964
+ s.style = { top: '20px', left: '5px', position: 'absolute', width: '50%' };
3965
3965
  this.table.searchForm.inputs.push(s);
3966
3966
  this.table.searchForm.name = 'ExpertSearch';
3967
3967
  }
@@ -3969,7 +3969,7 @@
3969
3969
  var hasSubmit = _this.table.searchForm.inputs.some(function (s) { return s.type === exports.InputType.Submit; });
3970
3970
  x.required = false;
3971
3971
  x.displayLabel = _this.table.expertSearch;
3972
- x.class = x.class + ' search-form-inp' + (_this.table.expertSearch ? ' p-0' : '');
3972
+ x.class = x.class + ' search-form-inp' + (_this.table.expertSearch && x.type !== exports.InputType.Submit ? ' p-0' : '');
3973
3973
  x.withClear = !hasSubmit || _this.table.expertSearch;
3974
3974
  if (!hasSubmit) {
3975
3975
  if (x.onChange == null) {