akeyless-client-commons 1.0.163 → 1.0.164
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/dist/components/index.js
CHANGED
|
@@ -6101,7 +6101,7 @@ var ElementsContainer = (0, import_react15.memo)(function(props) {
|
|
|
6101
6101
|
var labels = containerRef.current.getElementsByClassName("form-label");
|
|
6102
6102
|
var max_width = 0;
|
|
6103
6103
|
Array.from(labels).forEach(function(label) {
|
|
6104
|
-
var label_width = label.offsetWidth || label.scrollWidth;
|
|
6104
|
+
var label_width = label.clientWidth || label.offsetWidth || label.scrollWidth;
|
|
6105
6105
|
if (label_width > max_width) {
|
|
6106
6106
|
max_width = label_width;
|
|
6107
6107
|
}
|
|
@@ -5885,7 +5885,7 @@ var ElementsContainer = memo2(function(props) {
|
|
|
5885
5885
|
var labels = containerRef.current.getElementsByClassName("form-label");
|
|
5886
5886
|
var max_width = 0;
|
|
5887
5887
|
Array.from(labels).forEach(function(label) {
|
|
5888
|
-
var label_width = label.offsetWidth || label.scrollWidth;
|
|
5888
|
+
var label_width = label.clientWidth || label.offsetWidth || label.scrollWidth;
|
|
5889
5889
|
if (label_width > max_width) {
|
|
5890
5890
|
max_width = label_width;
|
|
5891
5891
|
}
|