@yuneta/gobj-ui 7.31.0 → 7.31.1

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/tabulator.css +22 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yuneta/gobj-ui",
3
- "version": "7.31.0",
3
+ "version": "7.31.1",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "dist/gobj-ui.cjs.js",
package/src/tabulator.css CHANGED
@@ -13,6 +13,28 @@
13
13
  * All Rights Reserved.
14
14
  ***********************************************************************/
15
15
 
16
+ /* ====================================================================
17
+ * The footer WRAPS when it does not fit.
18
+ * Tabulator puts `white-space: nowrap` on `.tabulator-footer`, so the
19
+ * row count and the paginator (its label, the page size, First, Prev,
20
+ * the pages, Next, Last) stayed on ONE line: 552px on a 412px phone,
21
+ * and the buttons on the right were off the screen, out of reach.
22
+ * The count and the paginator may now take two lines, and the pieces
23
+ * of the paginator wrap between them, each one whole. A wide screen
24
+ * still shows one line: nothing wraps while it fits.
25
+ * ==================================================================== */
26
+ .tabulator .tabulator-footer {
27
+ white-space: normal;
28
+ }
29
+ .tabulator .tabulator-footer .tabulator-footer-contents {
30
+ flex-wrap: wrap;
31
+ row-gap: 0.25rem;
32
+ }
33
+ .tabulator .tabulator-footer .tabulator-paginator > *,
34
+ .tabulator .tabulator-footer .tabulator-page {
35
+ white-space: nowrap;
36
+ }
37
+
16
38
  /* ====================================================================
17
39
  * Active / selected row highlight.
18
40
  * Green wash + left accent, theme-aware, with enough specificity