gridjs-spreadsheet 26.5.1 → 26.5.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gridjs-spreadsheet",
3
- "version": "26.5.1",
3
+ "version": "26.5.2",
4
4
  "description": "this is the client side script for GridJs which is a lightweight, scalable, and customizable toolkit that provides cross-platform web applications, enables convenient development for editing or viewing Excel/Spreadsheet files, offers simple deployment, and provides easy-to-use APIs based on JSON format.",
5
5
  "types": "index.d.ts",
6
6
  "main": "xspreadsheet.js",
package/readme.md CHANGED
@@ -403,10 +403,15 @@ v26.5:
403
403
 
404
404
  - Support add custom buttons in toolbar
405
405
 
406
- v26.5:
406
+ v26.5.1:
407
407
 
408
408
  - Improve date picker
409
409
 
410
+ v26.5.2:
411
+
412
+ - Improve filter display
413
+ - Improve print
414
+
410
415
  ## License
411
416
 
412
417
  MIT
package/xspreadsheet.css CHANGED
@@ -755,7 +755,9 @@ body {
755
755
  z-index: 100;
756
756
  width: 260px;
757
757
  pointer-events: auto;
758
- overflow: auto;
758
+ max-height: calc(100vh - 20px);
759
+ overflow-y: auto;
760
+ overflow-x: hidden;
759
761
  }
760
762
  .x-spreadsheet-suggest {
761
763
  width: 200px;
@@ -776,12 +778,21 @@ body {
776
778
  border-left: 1px solid transparent;
777
779
  }
778
780
  .x-spreadsheet-filter .x-spreadsheet-body {
779
- height: 200px;
781
+ max-height: 200px;
780
782
  overflow-y: auto;
783
+ overflow-x: auto;
781
784
  }
782
785
  .x-spreadsheet-filter .x-spreadsheet-body .x-spreadsheet-item {
783
786
  height: 20px;
784
787
  line-height: 20px;
788
+ width: max-content;
789
+ min-width: 100%;
790
+ white-space: nowrap;
791
+ overflow: visible;
792
+ }
793
+ .x-spreadsheet-filter .x-spreadsheet-body .labelcnt {
794
+ flex-shrink: 0;
795
+ white-space: nowrap;
785
796
  }
786
797
  .x-spreadsheet-sort-filter .x-spreadsheet-buttons {
787
798
  margin: 10px;