diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/utils.js b/packages/node_modules/@node-red/editor-client/src/js/ui/utils.js index 93baaa2df..1546f2eef 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/utils.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/utils.js @@ -134,11 +134,14 @@ RED.utils = (function() { } /** - * Truncates a string to a specified maximum length, adding ellipsis if truncated. + * Truncates a string to a specified maximum length, adding ellipsis + * if truncated. * - * @param {string} str - The string to be truncated. - * @param {number} maxLength - The maximum length of the truncated string. Default `120`. - * @returns {string} The truncated string with ellipsis if it exceeds the maximum length. + * @param {string} str The string to be truncated. + * @param {number} [maxLength = 120] The maximum length of the truncated + * string. Default `120`. + * @returns {string} The truncated string with ellipsis if it exceeds the + * maximum length. */ function truncateString(str, maxLength = 120) { return str.length > maxLength ? str.slice(0, maxLength) + "..." : str; diff --git a/packages/node_modules/@node-red/editor-client/src/sass/debug.scss b/packages/node_modules/@node-red/editor-client/src/sass/debug.scss index 8e8803f9d..eb550c6f5 100644 --- a/packages/node_modules/@node-red/editor-client/src/sass/debug.scss +++ b/packages/node_modules/@node-red/editor-client/src/sass/debug.scss @@ -131,10 +131,6 @@ } .red-ui-debug-msg-topic { display: block; - max-width: 100%; - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; color: var(--red-ui-debug-message-text-color-meta); } .red-ui-debug-msg-name {