sbd-npm 1.1.75 → 1.1.76
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/util.js +4 -0
package/package.json
CHANGED
package/util.js
CHANGED
@@ -2649,6 +2649,10 @@ const Util = {
|
|
2649
2649
|
element.style.height = height;
|
2650
2650
|
}
|
2651
2651
|
}
|
2652
|
+
let jq_obj = $("#" + element_id);
|
2653
|
+
if ((Util.is_mobile() || Util.is_small_screen()) && !jq_obj.hasClass("table-responsive")) {
|
2654
|
+
jq_obj.addClass("table-responsive");
|
2655
|
+
}
|
2652
2656
|
return echarts.init(element);
|
2653
2657
|
},
|
2654
2658
|
|