@yuneta/gobj-ui 7.11.0 → 7.11.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.
- package/package.json +1 -1
- package/src/yui_table_select.js +8 -2
package/package.json
CHANGED
package/src/yui_table_select.js
CHANGED
|
@@ -179,10 +179,16 @@ function yui_selection_bar(t, opts)
|
|
|
179
179
|
);
|
|
180
180
|
$clear._yui_label = "clear selection";
|
|
181
181
|
|
|
182
|
+
/* NOT `is-flex` in the class list: Bulma's helpers all carry
|
|
183
|
+
* `!important`, so `is-flex` and `is-hidden` would fight as equals and
|
|
184
|
+
* the stylesheet's order would decide -- `is-flex` wins, and the bar
|
|
185
|
+
* sits there saying "0 selected" for ever. The layout goes inline (a
|
|
186
|
+
* plain declaration, which `is-hidden !important` beats whenever the
|
|
187
|
+
* class is on), and only `is-hidden` toggles. */
|
|
182
188
|
let $el = createElement2(
|
|
183
|
-
["div", {class: `${name}_SELECTION_BAR is-
|
|
189
|
+
["div", {class: `${name}_SELECTION_BAR is-align-items-center `
|
|
184
190
|
+ "is-flex-wrap-wrap mb-2 is-hidden",
|
|
185
|
-
style: "gap:0.5rem;"},
|
|
191
|
+
style: "display:flex; gap:0.5rem;"},
|
|
186
192
|
[$count].concat($buttons, [$clear])]
|
|
187
193
|
);
|
|
188
194
|
|